PORTABLE TERMINAL, CONTROL METHOD, AND PROGRAM
A portable terminal includes: an opening and closing portion that opens and closes; an open and close detecting unit that detects open and close of the opening and closing portion; a first processing unit that executes a first process while the open and close detecting unit is detecting that the opening and closing portion is open; and a second processing unit that executes a second process when the open and close detecting unit detects that the opening and closing portion has been closed, and the second process is a process with respect to an execution result of the first process.
1 . A portable terminal comprising:
an opening and closing portion that opens and closes;
an open and close detecting unit that detects open and close of the opening and closing portion;
a first processing unit that executes a first process while the open and close detecting unit is detecting that the opening and closing portion is open; and
a second processing unit that executes a second process when the open and close detecting unit detects that the opening and closing portion has been closed, the second process being a process with respect to an execution result of the first process.
2 . The portable terminal according to claim 1 , further comprising:
a selection unit that receives from a user a selection of which of third processes is to be executed after the second processing unit executes the second process, the third processes being a plurality of processes with respect to an execution result of the second process; and
a third processing unit that executes a process of the third processes, for which the selection unit has received selection.
3 . The portable terminal according to claim 2 , further comprising:
a fourth processing unit that executes a fourth process after predetermined time has passed without receiving selection by the selection unit since the open and close detecting unit has detected that the opening and closing portion is closed.
4 . The portable terminal according to claim 1 , further comprising:
a display unit that displays an execution result of the second process when the second processing unit has executed the second process.
5 . A control method for a portable terminal comprising an opening and closing portion that opens and closes, the method comprising:
detecting open and close of the opening and closing portion;
executing a first process while the opening and closing portion is open is being detected; and
executing a second process when the opening and closing portion has been closed is detected, the second process being a process with respect to an execution result of the first process.
6 . A non-transitory computer readable recording medium storing a program for causing a portable terminal comprising an opening and closing portion that opens and closes to function as:
an open and close detecting unit that detects open and close of the opening and closing portion;
a first processing unit that executes a first process while the open and close detecting unit is detecting that the opening and closing portion is open; and
a second processing unit that executes a second process when the open and close detecting unit detects that the opening and closing portion has been closed, the second process being a process with respect to an execution result of the first process.