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

How to Password Protect Data Connection

My requirement is specific, and its just to prevent the unintentional use of data when its in hands of kids. They wont delete the app. And I use the screen lock but have to give it unlocked to kids for playing games, and i cant help it :p
There are specific apps which work on android 4.2 and lower but do not work on Android 5 & 6.
Is there any other alternate.
nd thanks for ur reply.
 
Upvote 0
Could you do something with Tasker... So that after someone turned it on., it would turn itself off automatically unless you entered a password? Just thinking out loud
Maybe... on a rooted device (Mobile Data On or Off would require root permissions) with a security/password plug-in and enough fiddling around with it could probably make it work. Too bad Motorola didn't implement guest or multi-user accounts, that could potentially make this simpler or not necessary.

OP stated non-rooted device though... :/
 
  • Like
Reactions: psionandy
Upvote 0
Ok... How about this as a workaround... No root required. Just edit the apn name by adding a character. Then when you take the device back.. Change it to the correct address.
That would probably work... Or just make a dummy APN that fails and toggle to it, than switch back when done. If you don't know where it is buried, would be rough to work around.
 
Upvote 0
Making a dummy APN or changing the APN name did not work, data is still on,dont know how.
Hmm... Must be auto-config from SIM card. I'll sleep on it
I tried this, it made no sense it didn't work, and it absolutely worked for me... Do it like this:

- Create a new APN
- Set Name field to "Dummy" (or something that fits what you need)
- Set the APN field to "dummy"
- Set APN type field to "default" (do not leave as Not Set)
- Press the overflow menu button (3 dots in the upper right corner) and select Save

The Device uses APN's in a priority and application order, the first ticked APN is considered the "primary" and if something needs access to a mobile network service, it looks in the active APN first for that type of service such as default (generic Internet), mms (picture messaging), supl (Secure User Plane location data), hipri (High Priority Mobile data, not sure how to explain this one), and fota (Firmware Over The Air, or OTA updates), if it finds the needed service in the default APN, it will use it, if it does not, it will go in a top down search order to try to find the proper match for the service. This is how some carriers can use one APN for Internet, and a different one for mms (not common, at least in the US). APN types "admin" or "vzwadmin" should not come into play here.

Note that in toggling back and forth, I could not get LTE to connect back up and the Moto G got stuck in HSPA+ mode, toggling in and out of Airplane restored LTE service though.

Oh, and although this isn't really the thread for it, I would recommend NOT ever having "admin" in any APN type field, this allows remote administration of your network connection.
 
Last edited:
Upvote 0
I tried this, it made no sense it didn't work, and it absolutely worked for me... Do it like this:

- Create a new APN
- Set Name field to "Dummy" (or something that fits what you need)
- Set the APN field to "dummy"
- Set APN type field to "default" (do not leave as Not Set)
- Press the overflow menu button (3 dots in the upper right corner) and select Save

The Device uses APN's in a priority and application order, the first ticked APN is considered the "primary" and if something needs access to a mobile network service, it looks in the active APN first for that type of service such as default (generic Internet), mms (picture messaging), supl (Secure User Plane location data), hipri (High Priority Mobile data, not sure how to explain this one), and fota (Firmware Over The Air, or OTA updates), if it finds the needed service in the default APN, it will use it, if it does not, it will go in a top down search order to try to find the proper match for the service. This is how some carriers can use one APN for Internet, and a different one for mms (not common, at least in the US). APN types "admin" or "vzwadmin" should not come into play here.

Note that in toggling back and forth, I could not get LTE to connect back up and the Moto G got stuck in HSPA+ mode, toggling in and out of Airplane restored LTE service though.

Oh, and although this isn't really the thread for it, I would recommend NOT ever having "admin" in any APN type field, this allows remote administration of your network connection.

Thanks for ur reply!
It worked this time, I set all the names in APN type field (accept Admin) and its working for me. If i face any problem, will let u know. Thanks a ton :)
 
Last edited:
Upvote 0
A simple alternative is provided by the free Norton App Lock ...
https://play.google.com/store/apps/details?id=com.symantec.applock&hl=en

You select the apps you want to control access to and get to them by entering a pattern. You can toggle the locking on and off for all apps.

... Thom
This actually is a working solution if you block access to settings since you can't toggle mobile data on and off from the notification quick buttons any more. I tested it and it works if you only lock the Settings app since that mobile data toggle is embedded in that app and can't be reached elsewhere.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones