Script for change location mode

A
Anil
Etisalat UAE

Can any one tell  writesecuresetting command  to change location mode  or any other command for android OS 5.1

6 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
6 years ago (edited 6 years ago)

Due to increasing concern (of end-users and Googe) on privacy intrusion, it is increasingly unlikely that you can silently change the location related options with existing MobiControl script command "writesecuresetting".   Some OEM brands, such as Zebra and Intermec, may have their own proprietary mechanism to allow such configuration remotely.

A
Anil
6 years ago

for wifi we are using below command . so its not possible to get it for location also??

writesecuresetting content://settings/global wifi_networks_available_notification_on 0

MD
Matt Dermody Diamond Contributor
6 years ago (edited 6 years ago)

I find it hard to believe that is the script you are using for the wifi notification. Are you sure you're not using:

writesecuresetting -glo wifi_networks_available_notification 0

With that said, have you tried using watchsettings on script to capture the setting change that you're referring to? RC is very likely right about that particular setting not being controllable but if it is possible to configure it via writesecuresetting then you'd need to identify the setting name and value with watchsettings first. 

If that doesn't work you may need to resort to a manufacturer specific management API such as the Zebra MX layer. This configuration option is in fact available to Zebra Android devices through MX but unless that's an ET55 tablet you're not going to be able to leverage MX:

Hi Anil, 

Thank you for requesting an answer from SOTI Support Staff. 

Here is a post I had placed some information on how to use the writesecuresetting commands especially with the OS version you are inquiring about as Google has made changes in the later versions of their OS and some of the commands do not work as they once did.  

https://discussions.soti.net/thread/android-plus-writeprivateprofstring-pbd-ini/?order=all#comment-78132be4-1443-4e4a-9225-cae176d491af

Hopefully you find it useful in resolving your inquiry.

Cheers,

MD
Matt Dermody Diamond Contributor
6 years ago

Come to think of it, this is also a feature of Android Enterprise Feature Control in SOTI 14.x:

Similar Discussions