> andrew wrote: > > But there have a problem,my activity will be keepped on calling by > > service, so this activity will do the thing:hiding and redisplaying > > the lockedscreenendless. > > This would seem to be a bug in your code. Fix this bug, and your > problems will go away. > > Alternatively, provide us with a good justifiable reason why Android > needs to support "hiding and redisplaying the lockedscreenendless".
I am sorry for using the wrong word "endless". My service is a listener,when receiving messages from computer, it will call my activity,and in my activity,if finds the screen is locked,it have to hide the screen,in order to display itself. If the the messages is keeping on sending to my service, when user keeping on operating the computer,my activity will be called again and again, so it have to hide and rediplay the lock again and again. Maybe someone could tell me how to remove the lock when my activity is loaded,and to add the lock when my activity finished, this will give me a new way to deal my problem. Thanks for everyone! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

