Locking android Screen

Put your problem here if it does not fit any of the other categories.

Locking android Screen

Postby Radzell » Sun Jun 27, 2010 5:04 pm

I have been around every major android site looking through all the android source code and it seems to be no way to lock android's screen.
1)Ive tried using powermanager gotosleep but you can't get permission to DEVICE_POWER ever
2)I've tried clicking the android power key from inside a activity by starting a activity from a broadcast receiver and executing a button click
does anyone have any idea how to do it or a example
Radzell
Developer
Developer
 
Posts: 45
Joined: Thu Aug 20, 2009 8:14 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 12 guests