Revision: 59905
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 9, 2012 02:19 by thegeekinside
Initial Code
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "My Tag"); wl.acquire(); // You code here wl.release();
Initial URL
Initial Description
Initial Title
Prevent Going Sleep
Initial Tags
Initial Language
Java