摘要 |
A method and apparatus for activating a function of the electronic device is disclosed herewith. The method includes detecting a first input by a motion sensor. Further, the method activates a touch sensor of the electronic device in response to detecting the first input. The method then detects a second input by the motion sensor within a predetermined time period from the first input. Next, the method determines, in response to detecting the second input, whether contact has occurred at the touch sensor and activates a function of the electronic device in response to determining that contact has occurred at the touch sensor when the second input is detected. |