try:

# adb shell input keyevent 82

2012/2/9 Alvin Wong <alvinhoc...@gmail.com>

> Hi,
>
> I recall I heard someone saying that double-click on the POWER key
> will unlock the screen and I've seemed to tried this once in 2.2, but
> I can't do this again in 2.3.7, strange... You can try this first. If
> it failed, perhaps you should consider modifying the Android code
> manually...
>
> For any other operations, you can always do that with DPAD arrow keys
> and center key, given that you've successfully unlocked the screen.
>
> Good luck,
> Alvin Wong
>
> On 2月8日, 下午11�r42分, 李晖 <lihui205...@gmail.com> 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:lihui205...@163.com
>
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to