Take the 2-minute tour ×
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.

I use Tasker to sync every 30 mins when on 3G. I'm on a limited data plan, and the only apps I use constantly are browser, a Twitter app (Echofon) and Whatsapp. Is there a way to allow only these apps when on cell data, and allow access to all on wifi, either with Tasker or otherwise?

I've seen similar questions here, but they're mostly outdated (pre ICS) and/or involve restricting access using DroidWall, which does not differentiate wifi and 3G.

share|improve this question
1  
Since when Droidwall does not differenciate between Wifi and 3G? It has checkboxes for both. As Droidwall is no longer continued, you might also want to check its follow-up AFWall+ (Android Firewall) (here the screenshots clearly show the differenciation). –  Izzy Jan 7 '13 at 13:40
    
@Izzy Incidentally droidwall was sold to Avast.... :\ AFWall+ has some glitchy teething problems... –  t0mm13b Jan 7 '13 at 16:18
    
Never heard anything of those! That would leave LBE as an option (careful on JellyBean -- don't install the app from the playstore on JB or you'll run into a boot-loop; check XDA instead. Pre-JB is fine from Playstore)? Works for me in this context (limiting apps to WiFi). –  Izzy Jan 7 '13 at 16:30
    
@Izzy: my knowledge of Droidwall was based on an old post here on Android.SE, thank you for correcting me. I'm on 4.2, and even AFWall+ seems to have issues according to comments on the Play Store page. –  Sumesh Jan 8 '13 at 8:20
    
As I wrote, I did use neither of them yet -- so I cannot tell about issues first-hand. I use LBE from the playstore, which also offers this feature and works fine so far. –  Izzy Jan 8 '13 at 8:54
add comment

2 Answers

I know of no way to restrict an app to the 3G network (as opposed to 2G/4G), but there are several solutions to restrict apps to either WiFi or mobile networks (or keep/allow them from/to both). Examples include DroidWall - Android Firewall1 (which you already mentioned, but which is discontinued), its successor AFWall+2, its fork Android Firewall3, and -- last but not least -- LBE Privacy Guard4. As below screenshots show, all four of them support separate settings per app for WiFi and mobile data respectively.

DroidWall AFWall+

Android Firewall LBE

As the comments state, some of them might have issues (e.g. do not install LBE from the playstore if your device runs Android 4.1 or higher, as this will leave you with a boot loop -- check this XDA thread instead). But one of them should do for you, I hope.

share|improve this answer
add comment

You can set permissions (Allowed All / Wi-Fi Only / Blocked All) on per-app basis with LostNet Firewall: https://play.google.com/store/apps/details?id=com.lostnet.fw.free

share|improve this answer
    
Please read the documentation regarding self-promotion in the Help Center. –  onik Feb 10 at 10:54
add 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.