On Fri, Jul 30, 2010 at 4:11 AM, Yannick Plenevaux <yplenevaux.geoli...@gmail.com> 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 kind of idle > mode that close the wifi connection.
If you want to keep the CPU on, use a WakeLock. If you want to keep the WiFi on, also use a WifiLock. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en