摘要 |
A method for unlocking an electronic device is provided. The electronic device includes a storage unit, the storage unit stores a relationship table which defines a number of touch modes, each touch mode includes touch icons needing to be touched, touch duration corresponding to each touch icon, a touch sequence of the touch icons and a touch order of each touch icon in the touch sequence. The method includes: selecting an touch mode from the touch modes defined in the relationship table when in a situation where the electronic device needs to be unlocked; displaying the touch icons corresponding to the touch mode on the touch screen; determining whether touches on the touch icons match the requirements of the selected touch mode; and unlocking the electronic device if the touches on the touch icons match the requirements of the selected touch mode.
|