Hello, I have a little, no a big problem with my N80:
If I put it in my pocket the keylock gets often unlocked by the 2 softkeys.
There are several key lock / auto lock programs on the market, but they only lock the handy, they don't prevent the unwanted unlock.
My idea is to lock handy when closing slider and unlock it opening the slider. No unlock with softkeys should be possible.
I read a little bit in the Python docu but I'm not sure if I can solve it with python. I think there are 3 possibilities to solve this problem.
1. The best solution in my opinion is to have an application running in background. It detects that the handy is locked and catches
all "keystrokes" until handy is unlocked. This would require that a python application in background can catch keyevents, is this possible? Also it must detect if phone is locked or not. Alternativly it must detect when slider is opened and closed.
2. Another option is that a background application gets an event that keyboard is locked. Now it becomes to the application in foreground and catches all keystrokes until handy is unklocked.
3. The last possibilty might be an application that is started via quick lauch and that catches all keystrokes. This application will close when handy is unlocked.
What is your opinion, is this solvable with python or must I use java or c++ ?

Reply With Quote



