Categories: Symbian C++ | Code Examples | UI | Hardware
This page was last modified 11:20, 12 December 2007.
Locking phone keypad
From Forum Nokia Wiki
With S60 devices the standard keyboard lock can be set to the locked state by using RAknKeyLock. This API should work with all platform editions and the following code can be used to lock the keypad:
RAknKeyLock MyKeyLock; MyKeyLock.Connect(); if(!MyKeyLock.IsKeyLockEnabled()) { MyKeyLock.EnableKeyLock(); MyKeyLock.OfferKeyLock(); MyKeyLock.Close(); }
Note that you can use the IsKeyLockEnabled()-function to check if the key lock is already in use.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using input from user keypad | Nokia_Archive | Browsing and Mark-ups | 1 | 2002-05-15 20:27 |
| critical issue to send the data to keypad buffer(special for Nokia support) | Dhananjai | Mobile Java General | 5 | 2007-03-09 10:25 |
| Key codes of numeric keypad keys | dathom | General Symbian C++ | 4 | 2007-07-06 18:26 |
| Problem in Locking the Phone | rajeevasthana | General Discussion | 0 | 2005-12-30 13:06 |
| Key mappings | kurtrips | General Symbian C++ | 0 | 2004-12-27 16:17 |
