>From what I gather, WifiLock and WakeLock work completely independently and if you are downloading a large file over Wifi then you will need to acquire both locks??
Ideally, you would want something like this: 1. Acquire partial WakeLock 2. Preparing to download large file, check whether on Wifi or not. 3. If on Wifi, then acquire WifiLock. If not, then prevent device switching to Wifi (is this possible?) 4. Start download 5. When download has finished, release all locks. Is this correct? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

