Seems to be two ways to do this.
Wakelock or WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
http://stackoverflow.com/questions/3949917/how-to-keep-android-device-from-sleeping-while-plugged-in
Seems to be two ways to do this.
Wakelock or WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
http://stackoverflow.com/questions/3949917/how-to-keep-android-device-from-sleeping-while-plugged-in