I have a Samsung Galaxy Gio running Android 2.3.3 Gingerbread.

How can I block packet data for background programs only? When I disable Settings -> Wireless & networks -> Mobile networks -> Enable packet data the default browser and Opera Mini don't work.

(I'm trying to keep down my network billing charges!)

5 Answers 5


If your device is rooted you can use LBE Privacy Guard to allow/deny network access based on a per-app setting (and much more). Since I couldn't find the version I use (and shown in the screenshots) on the market minutes ago I think there's a new version of it available. But I didn't get an update via Android Market on my phone.


If your phone's rooted, use the excellent DroidWall to selectively allow / disallow apps from connecting to the internet.

Like all apps that need root, read the instructions carefully and of course, do make a complete backup before trying things out.


In addition to Sparx's answer:

Droidwall has been discontinued and now forked into AFWall+ Play Store and continues in the spirit of open-source for the deprecated/obsolete Droidwall here GitHub.


Android allows applications enable or disable the "use data packet" from code (refer to this question on SO)

To prevent for enable "Use Packet Data", you can create new empty APN and select it by default:

Settings -> Wireless and network -> Mobile networks -> Access Point Names -> Left button -> New APN

Name: None, APN: None

[Tested on Samsung GT-I8150 (Android 2.3.6)]


Whether your phone is rooted or not – if it's running Android 4.0 or newer, there's help built-in:

  1. Go to Settings → Data Usage
  2. Tick the Limit checkbox
  3. Use the bars in the graph to define upper limits (if you don't want any global limits, use "astronomical values": I've set mine to 3 GB, which never will be triggered. But you must set a limit here for the following steps to work)
  4. Scroll the list of apps below the graph to find the apps you want to restrict
  5. Tap their entry, scroll to the end, tick Restrict background data

Data Usage Restrict Background Data

Done. This app will only use data when it's the foreground app now, or when you're connected to WiFi (above settings are for mobile data only).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .