Additionally, it's not even possible to "lock" the phone at all, by code, in any ways that can't be easily defeated and are essentially nothing more than parlor tricks.
kris On Fri, Jan 20, 2012 at 8:21 AM, Mark Murphy <[email protected]> wrote: > On Fri, Jan 20, 2012 at 1:42 AM, ashiq sayyad <[email protected]> wrote: >> I have an implementation to lock the phone .I checked the device admin >> API.It is introduced after 2.1.So to have lock functionality for all >> versions devices,I am planning to dispatch power button event through code. > > Fortunately, this is not possible. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android 4.0 Programming Books: http://commonsware.com/books > > -- > 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 -- 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

