Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

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
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZpythonQ
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX