I've been looking for a way (via intents or some API function call) to invoke the device screen lock. Tried getting around to this by putting the device to sleep, since this is usually followed by a screen lock, but no luck since PowerManager gotooSleep() function requires special permissions to work. Ultimately my intent is to lock the device by sending an intent to trigger forwarding to whatever application can lock the device
-- 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

