You can use the method "disableKeyguard" of KeyguardManager.KeyguardLock,in your program after it is locked. If the screen if locked,but you want you activtiy to display on top,you can use disableKeyguard to hide the locked screen,then if you have done something in your program,use reenableKeyguard to relock the screen. But as i knonw,the home key still can be used,this is not what I want, I still on finding the solution to disabled the home key,when after i use method "disableKeyguard".
Is this what you want? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---