Ron wrote: > It's a background service which must remain connected, and also cannot > be overridden by the user, so I need a programmatic solution to keep > wifi on. I'm trying: > wl = wifiManager.createWifiLock(tag); > wl.acquire() > > but that doesn't seem to be working.
That will only keep WiFi on if something is keeping the device on. Do you hold a regular WakeLock? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Consulting/App Development: http://commonsware.com/consulting -- 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

