화면 유지 : 
PowerManager.WakeLock



WIFI 유지 : WifiLock

WifiManager wManager = (WifiManager)mCtx.getSystemService(Context.WIFI_SERVICE);
WifiLock wLock = wManager.createWifiLock("HandsWIFILock");
wLock.acquire();

//doing something

wLock.release();

+ Recent posts

티스토리 툴바