You can try doing this ~

Add following code in

KeyguardManager keyguardManager =
(KeyguardManager)getSystemService(Activity.KEYGUARD_SERVICE);
KeyguardLock lock = keyguardManager.newKeyguardLock(KEYGUARD_SERVICE);
lock.disableKeyguard();

in
git://android.git.kernel.org/platform/frameworks/base.git<http://google.com/codesearch/p?hl=en#uX1GffpyOZk/&q=package:android
"KeyguardManager keyguardManager">›
services<http://google.com/codesearch/p?hl=en#uX1GffpyOZk/services/&q=package:android
"KeyguardManager keyguardManager">›
java<http://google.com/codesearch/p?hl=en#uX1GffpyOZk/services/java/&q=package:android
"KeyguardManager keyguardManager">›
com<http://google.com/codesearch/p?hl=en#uX1GffpyOZk/services/java/com/&q=package:android
"KeyguardManager keyguardManager">›
android<http://google.com/codesearch/p?hl=en#uX1GffpyOZk/services/java/com/android/&q=package:android
"KeyguardManager keyguardManager">›
server<http://google.com/codesearch/p?hl=en#uX1GffpyOZk/services/java/com/android/server/&q=package:android
"KeyguardManager keyguardManager">›
DockObserver.java

- Akash

On Sun, Jul 18, 2010 at 9:59 AM, fastludeh22 <highboos...@gmail.com> wrote:

>
>
> On Jul 17, 2:59 pm, Jerry Zhang <zhj8...@gmail.com> wrote:
> > Hi,
> >
> >    There is no touch screen on my device, so I can not unlock the idle
> > screen. How can I disable the auto-lock app?
> >
> >    Thanks very much.
> >
> > BR
> > Jerry
>
> Does the menu key not unlock it on your device? I'm sorry I can't tell
> you how, but there is a way to enable it to do that with code. However
> there is a menu unlock app for 2.1 on xda g1 forums. Hope this helps
> you.
>
> --
> unsubscribe: 
> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@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