Jump to content

Keylock and Unkeylock

Recommended Posts

It's pretty easy to keylock a WM phone, you just use keybd_event to send the right keypress,

as nicely described here: http://bansky.net/blog/2007/08/simulate-ke...windows-mobile/

But trying to undo it is another matter. How do you programmatically unlock keys?

I can do it with the silly hack of issuing a left soft key press and then faking a screen tap in the rihgt place but that's never going to be reliable. Surely there's an API for unlocking the phone?

Share this post

Link to post
Share on other sites

I have to confess I don't know of an API to lock / unlock the phone i'm afraid! I strongly suspect 'frigging it' the way you describe will be the only option.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now