Tell me more ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Is there a way to reconnect to Wi-Fi whenever an application accesses the network?

Background: I have a rooted e-book reader that runs Android 2.2 (Sony Reader PRS-T1). The system offers an option to automatically enter Wi-Fi standby mode when the connection is idle, which I like: This behavior saves a lot of battery juice when reading an e-book.

Some of the preinstalled apps know how to reconnect the Wi-Fi whenever they need network access. Unfortunately, conventional Android apps do not know how to do this and fail. For example, I have installed the Kindle for Android app, and it fails to sync reading positions unless I have manually re-enabled the the Wi-Fi before trying to do so.

Is there a method to leave Wi-Fi standby mode and reconnect to Wi-Fi whenever there is demand?

share|improve this question

1 Answer

I'm not certain, but I'd expect Tasker to be able to do this.

share|improve this answer
Not that I know of, at least not out of the box. I have Tasker on my phone, and I cannot find an option to trigger a task when an app accesses the network. Maybe you're thinking of a specific Tasker or Locale plugin? – altruizine Jul 11 '12 at 13:32
The behavior described in the question sounds to me like a custom WiFi standby solution - this wouldn't be something available in Tasker. What one could do, though, is have Tasker toggle WiFi on/off (perhaps with a short wait in between). That might kick it out of standby. – Mr. Buster Jul 11 '12 at 22:42
Sure, Tasker can kick wifi out of standby. The question is -- how can this be triggered on demand, automatically? – altruizine Jul 12 '12 at 10:43
Easy to do if Wifi should always be active when certain apps run in the foreground (just select those apps as conditions for a profile). But if they simply "want to access" while in background, there's nothing I can think of. – Izzy Aug 9 '12 at 11:14
I'm thinking of WeFi app, but it's probably not a good idea since it would be looking for a WiFi connection all the time. – geffchang Aug 10 '12 at 14:51
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.