Have you tried this?
<uses-permission android:name="android.permission.WAKE_LOCK"/>
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "My Tag");
wl.acquire();
On Saturday, July 28, 2012 5:29:11 PM UTC-5, ahmed wrote:
--after i upgrade my arc S to 4.0.3 i can not disable secreen lock
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment