• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Is it possible to block cellular data using an app?

You can turn it off in settings and there are apps to block access to apps! I am not aware of an app that just blocks all usage! In data usage you can set limit and it will turn off once limit is reached!
 
I'm talking about blocking cellular data in the sense of not allowing the user to turn it on in the settings or anywhere else.
 
They have apps to block you from accessing apps or so forth but I am not aware of any app that does this
 
But is it possible for me to code an app that does this?
I would think.. Instead of an app, you could (if Rooted) rename some of the radio files but make copies of them to an SD before changing so that you can restore it to full function in the future. Just an idea.. [emoji89]
 
It is possible to block cellular data trafick from an app. You may have to code such app yourselve. This can be achieved using androids builtin firewall named iptables. It allows to establish rules to control trafic. From adb shell you could execute:
iptables -A OUTPUT -o rmnet0 -p tcp -j REJECT --reject-with tcp-reset
iptables -A OUTPUT -o rmnet0 -p udp -j REJECT
where rmnet0 is the phone data interface. I hope this helps. Excuse my poor english.
 
Back
Top Bottom