I am trying to create an android device admin app. My requirements are that the user should not be able to turn off the mobile network data and the GPS settings. So far, using the android documentation and some resources, I have been able to create an app that will allow me to put restrictions on camera, implement passcode policies and some more stuff.
But I haven't been able to restrict the user from changing the GPS and mobile data settings. I read on various links that this thing was possible using the Android NetworkConnectionManager class but that method doesn't work in newer versions of android. Can someone guide me on how to achieve this ? Thanks ! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/b21a66f0-0b2a-4111-80bc-a12b9f254bd5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.