06-14-2013 07:59 AM
i want to programmatically lock handset, i am able to do it in other handsets, but unable to lock in 9300 curve,
because in 9300 curve it will be done by long pressing mute key, so may i know key code for mute key for this
Thanks & Regards
Solved! Go to Solution.
06-14-2013 09:16 AM - edited 06-14-2013 09:29 AM
Sorry you said "i want to programmatically lock handset," So I assumed you were a BlackBerry Java application developer. Is that the case?
When your device is in the foreground and displaying on the screen - then you can detect whatever key you want and issue the lock.
If you are trying to do this with your app in the background, good luck. Search the forum for people who have tried to detect key presses when their application was running in the background. Beside that, why would the user press some special key you use, when they can just lock the device themselves.
I guess I am not understanding what you are trying to do here. Perhaps you could explain what the user will do when they are using your application.
06-14-2013 02:26 PM - edited 06-14-2013 07:16 PM
Have you resolved your own problem then? If so, that is great, but can you mark it as solved? Instructions in the Help link near the top of the screen.
Just has a thought - perhaps you are trying to inject this code using key injection?
06-15-2013 03:05 AM