Jump to content


Photo

Keylock and Unkeylock

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Ferrex

Ferrex

    Newbie

  • Members
  • Pip
  • 3 posts
  • Devices:HTC Dual touch
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/bl...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?

  • 0

#2
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,345 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
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.

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users