Hi all,
Is there a possibility to adjust the audio volume of a Android+ device using a SOTI script?
Hi all,
Is there a possibility to adjust the audio volume of a Android+ device using a SOTI script?
Don,
Based on what you saw after sending "watchsettings on", the script command I suggested earlier should be the right format.
However, if it still doesn't work, the last two things I would suggest are :
1. Verify that the "Write System Settings" permission for your MobiControl device agent in Settings->App-Manager tab is enabed, and retry the script command
2. Try again with a different device agent build number (e.g. the latest v13.5.0 agent for Zebra I can find from Soti agent download page is v13.5.0.1677. I believe it is also safe to try out v13.5.1.1234 agent with your current server).
Adjusting volume with MobiControl script is possible for some brands/models. What brands or models are your devices? And your MobiControl server and device agent versions?
Another approach is to build/buy custom app that can take Android intent parameters from MobiControl script or read config file pushed from MobiControl server. I heard that future version of MobiControl will have an additional script engine supporting javascript and user-defined modules. With these new features, it is likely that changing volume remotely can be done much more easily.
Hi Raymond,Chan
Devices that we use are Zebra TC51's
Mobicontrol 14.2 agent most current ones
Hi Glenn,
Zebra devices should support what you want. Unfortunately, I do not have a Zebra TC51 to test out the exact format. You can try sending the script
writesecuresetting -sys volume_system_speaker 15
where the last argument can be any integer in the range [0..15]
Before trying, you have to make sure the "change system settings" permission of your MobiControl device agent has been enabled in the app manager tab of Settings.
Let me know if this works or not.
Chan,
I am attempting this on a Zebra MC33 running OS 7.1.2 and Agent Version 13.5.0.1496
I have tried both the following commands without success:
writesecuresetting -sys volume_music_speaker 15
writesecuresetting -sys volume_system_speaker 15
With watchsettings ON I can manually adjust the volume and I get this logged:
Custom log (URI:content://settings/system SETTING:volume_music_speaker VALUE:15)
I'd love to get this figured out.
Hi Don, did you got this working?
I see this when I use Watchsettings ON
URI:content://settings/system SETTING:volume_music_speaker VALUE:15
But when executing the script like this:
writesecuresetting -sys volume_music_speaker 15
the sound stays on the same level.
I have checked if the permissions are in place en they are.
Do I miss something?
How are you enrolling the MC33 and TC51 devices. If using Android Enterprise with Device Owner instead of using Android+ with Device Administrator then those particular scripts may not work.
I am using android+
Changing other settings work fine for me.
For example the Rotation, screen time out etc
writesecuresetting -sys accelerometer_rotation 0 works
writesecuresetting -sys volume_music_speaker 15 does not work