Categories: Python | S60 | Code Examples | How To
This page was last modified 14:16, 24 April 2008.
How to lock and unlock keypad
From Forum Nokia Wiki
The following code snippets are used to lock and unlock the keypad respectively using Python
Please note that this code will work for third edition phones only.
Code to lock the Keypad
#import modules import misty from e32 import ao_sleep as sleep #Locks the Keypad misty.lock_keypad() sleep(10) misty.lock_keypad_silent()
Code to unlock the Keypad
#import modules import misty from e32 import ao_sleep as sleep #Unlocks the Keypad misty.unlock_keypad() sleep(5) misty.unlock_keypad_silent()
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 3230 phone lock code problem | samarth_shroff | General Browsing | 0 | 2005-09-22 15:39 |
| 6230i keypad | bizinichi | General Discussion | 0 | 2006-04-16 03:04 |
| Keypad simulation | rjrang | General Discussion | 1 | 2005-10-13 15:57 |
| 3585i Auto Lock | espalmer2 | General Discussion | 1 | 2004-03-03 12:48 |
| Checking Firmware ver of 6230 | omarsc | General Discussion | 7 | 2004-12-21 12:45 |
