Re: [android-developers] Disabling Idle mode

2010-08-01 Thread Dianne Hackborn
On Sat, Jul 31, 2010 at 11:50 PM, Mark Murphy wrote: > If you want to keep the CPU on, use a WakeLock. > If you want to keep the WiFi on, also use a WifiLock. > Please only use a WifiLock if there is some reason that you actually *need* to operate over wifi. Devices generally turn WIFI off when

Re: [android-developers] Disabling Idle mode

2010-07-31 Thread Mark Murphy
On Fri, Jul 30, 2010 at 4:11 AM, Yannick Plenevaux wrote: > I am currently searching to set out an issue I encounter. > I am developing an Application on Android which have to download a lot > of data and then be unused for a while. > > During the download, the device is locked and switch to a kin

[android-developers] Disabling Idle mode

2010-07-31 Thread Yannick Plenevaux
Hello everybody, I am currently searching to set out an issue I encounter. I am developing an Application on Android which have to download a lot of data and then be unused for a while. During the download, the device is locked and switch to a kind of idle mode that close the wifi connection. I d