Handheld electronic device and method and computer-readable medium for controlling the same
Abstract
A handheld electronic device and a method and a computer-readable medium for controlling the same are provided. The handheld electronic device includes a controller configured to determine a tiling state of the handheld electronic device, and control the handheld electronic device to perform a function in response to a determination that the handheld electronic device is in a first state, thereafter changes to a second tiling state, wherein the tiling state is in the first tiling state only when the tiling angle of the handheld electronic device is within a first predetermined tiling angle range with respect to a reference point, the tilting state is in the second tiling state only when the tiling angle of the handheld electronic device is within a second predetermined tiling angle range with respect to the reference point, and the first and second predetermined tiling angle ranges do not overlap with each other.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method of controlling a handheld electronic device to perform a function by using a sensor to detect a tilting angle of the handheld electronic device, the method comprising:
determining the tiling state of the handheld electronic device, wherein the tiling state is determined to be in the first tiling state only when the tiling angle of the handheld electronic device is within a first predetermined tiling angle range with respect to a reference point, the tilting state is determined to be in the second tiling state only when the tiling angle of the handheld electronic device is within a second predetermined tiling angle range with respect to the reference point, and the first predetermined tiling angle range and the second predetermined tiling angle range do not overlap with each other; and controlling the handheld electronic device to perform the function in response to a determination that the handheld electronic device is in the first state, thereafter changes to the second tiling state.
2 . The method of claim 1 , wherein the handheld electronic device is determined to be in the second tiling state when the tiling angle of the handheld electronic device stays within the second predetermined tiling angle range for a predetermined time period.
3 . The method of claim 1 , wherein the handheld electronic device is determined to be in the second tiling state when the tiling angle of the handheld electronic device is determined to be within the second predetermined tiling angle range for n consecutive times, and n is an integral and is more than one.
4 . The method of claim 1 , wherein the controlling step includes controlling the handheld electronic device to perform the function regardless of the tiling state of the handheld electronic device being passed through before the handheld electronic device arrives at the second state.
5 . The method of claim 4 , wherein the handheld electronic device is determined to be in the second tiling state when the tiling angle of the handheld electronic device stays within the second predetermined tiling angle range for a predetermined time period.
6 . The method of claim 4 , wherein the handheld electronic device is determined to be in the second tiling state when the tiling angle of the handheld electronic device is determined to be within the second predetermined tiling angle range for n consecutive times, and n is an integral and is more than one.
7 . The method of claim 1 , wherein the function comprises one or more of entering into a mute mode of the handheld electronic device, muting a sound of the handheld electronic device, muting a ringtone notice of the handheld electronic device.
8 . The method of claim 1 , wherein the first state is a face up state and the second state is a face down state.
9 . A handheld electronic device comprising:
a sensor configured to detect a tiling angle of the handheld electronic device; and a controller coupled to the sensor, and configured to
determine a tiling state of the handheld electronic device, and
control the handheld electronic device to perform a function in response to a determination that the handheld electronic device is in a first state, thereafter changes to a second tiling state,
wherein the tiling state is determined to be in the first tiling state only when the tiling angle of the handheld electronic device is within a first predetermined tiling angle range with respect to a reference point, the tilting state is determined to be in the second tiling state only when the tiling angle of the handheld electronic device is within a second predetermined tiling angle range with respect to the reference point, and the first predetermined tiling angle range and the second predetermined tiling angle range do not overlap with each other.
10 . The handheld electronic device of claim 9 , wherein the handheld electronic device is determined to be in the second tiling state when the tiling angle of the handheld electronic device stays within the second predetermined tiling angle range for a predetermined time period.
11 . The handheld electronic device of claim 9 , wherein the handheld electronic device is determined to be in the second tiling state when the tiling angle of the handheld electronic device is determined to be within the second predetermined tiling angle range for n consecutive times, and n is an integral and is more than one.
12 . The handheld electronic device of claim 9 , wherein the controller is configured to control the handheld electronic device to perform the function regardless of the tiling state of the handheld electronic device being passed through before the handheld electronic device arrives at the second state.
13 . The handheld electronic device of claim 12 , wherein the handheld electronic device is determined to be in the second tiling state when the tiling angle of the handheld electronic device stays within the second predetermined tiling angle range for a predetermined time period.
14 . The handheld electronic device of claim 12 , wherein the handheld electronic device is determined to be in the second tiling state when the tiling angle of the handheld electronic device is determined to be within the second predetermined tiling angle range for n consecutive times, and n is an integral and is more than one.
15 . The handheld electronic device of claim 9 , wherein the function comprises one or more of entering into a mute mode of the handheld electronic device, muting a sound of the handheld electronic device, muting a ringtone notice of the handheld electronic device.
16 . The handheld electronic device of claim 9 , wherein the first state is a face up state and the second state is a face down state.
17 . A non-transitory computer-readable medium containing a computer program product comprising handheld electronic device executable instructions for controlling a handheld electronic device to perform a function by using a sensor to detect a tilting angle of the handheld electronic device, the handheld electronic device executable instructions comprising:
determining the tiling state of the handheld electronic device, wherein the tiling state is determined to be in the first tiling state only when the tiling angle of the handheld electronic device is within a first predetermined tiling angle range with respect to a reference point, the tilting state is determined to be in the second tiling state only when the tiling angle of the handheld electronic device is within a second predetermined tiling angle range with respect to the reference point, and the first predetermined tiling angle range and the second predetermined tiling angle range do not overlap with each other; and controlling the handheld electronic device to perform the function in response to a determination that the handheld electronic device is in the first state, thereafter changes to the second tiling state.
18 . The non-transitory computer-readable medium of claim 17 , wherein the controlling handheld electronic device executable instructions include controlling the handheld electronic device to perform the function regardless of the tiling state of the handheld electronic device being passed through before the handheld electronic device arrives at the second state.
19 . The non-transitory computer-readable medium of claim 17 , wherein the function comprises one or more of entering into a mute mode of the handheld electronic device, muting a sound of the handheld electronic device, muting a ringtone notice of the handheld electronic device.
20 . The non-transitory computer-readable medium of claim 17 , wherein the first state is a face up state and the second state is a face down state.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.