Hi,

Oh well I just discovered that the key assigned as MENU can unlock the
screen. check your keyboard driver and .kl file for the exact key.

Regards,
Alvin Wong

On Feb 8, 3:42 pm, 李晖 <[email protected]> wrote:
> hi, all
>     I succeed porting android to a device which don't has touch screen
> support, when the android system up, the screen is locked, so I want to
> unlock the screen by using the keyboard. I was informed remapping the
> keyboard can solve this problem, but I don't known the keycode of unlock
> screen.
>     Currently, I can succeed implement the MENU, HOME, BACK, SEARCH keys by
> adding following code into the qwerty.kl file,
>
> > key 60 MENU #F2 succeed
>
> > key 61 EXPLORER #F3
>
> > key 62 HOME #F4 succeed
>
> > key 63 BACK #F5 succeed
>
> > key 64 SEARCH #F6 succeed
>
> > key 65 POWER #F7
>
> > as don't know the keycode of unlock screen, I can not unlock screen by
>
> using keyboard, can anyone tell me the keycode of unlock screen or method
> to unlock screen using keyboard? thanks in advance!
>
> BTW, I also want to bring up the program manager view(all program can
> launched here) by using the keyboard, any suggestion?
>
> andy
>
> Best Regards
> -------------------------------------------------------------------
> -------------------------------------------------------------------
> 北京航空航天大学大学嵌入式系统实验室
> 新主楼G座1028室
> 李晖
> MSN:[email protected]

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to