I guess you are tocking about UI lock..
>>i can't unlock it. you can unlock a locked UI, by pressing and dragging the 'lock' button upwards.. we also mapped a hot key to unlock the screen., will check what keyevent it publishes. >>how to disable ANDROID to lock screen You can get handle to the keyguard manager in App, and disable it.. somebody posted a snippet for this (source: http://www.androidsnippets.org/snippets/43/) KeyguardManager keyguardManager = (KeyguardManager)getSystemService(Activity.KEYGUARD_SERVICE); KeyguardLock lock = keyguardManager.newKeyguardLock(KEYGUARD_SERVICE); lock.disableKeyguard(); in androidmanifest: <uses-permission android:name="android.permission.DISABLE_KEYGUARD"></uses-permission> 2010/4/1 Максим Андрущенко <andruschenk...@mail.ru>: > Hi. > > I have no Android power driver. > I applied a patch: > http://gitorious.org/flow-g1-5/platform_frameworks_base/commit/4bc6cd6aecc7330cdcadf2d5168bb3dfa08b6732 > to make for ANDROID fake battery. > It works. > > But after 5 minutes working ANDROID locks screen, on the screen i see > message: charging(96%). > > My question is, how to disable ANDROID to lock screen, because i can't unlock > it. > Is there any patch or solution for this. > > Regards! > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > To unsubscribe, reply using "remove me" as the subject. > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting