I also want to slove this problem. Do you have any idea now?
I am trying using KeyguardManager to slove it. On Nov 19, 12:36 am, mehool <[email protected]> wrote: > Hey, > > Is there some way that I can write a program tolockthescreen(the > one that usually happens when you press the power buttong once)? > > Thanks, > Mehool > > On Nov 11, 8:04 am, Mark Murphy <[email protected]> wrote: > > > > > Fred Grott(Android Expert,http://mobilebytes.wordpress.com) wrote: > > > > My question is that I have use case whereas client wants me tolockan > > > application.. > > > > Could any of the APIs for the DeviceLockscreenbe re-purposed to > > >lockthe application in the same manner? > > > > Or would I have to come up with some new code? > > > How do you define "lockan application"? > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://twitter.com/commonsguy > > > Android Consulting/App Development:http://commonsware.com/consulting -- 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

