Community - SOTI MobiControl

Community - SOTI MobiControl

There's a new home for Articles. Find Articles on Our Product Support Page.

SOTI MobiControl Discussions


  • 0 votes 2 answers

    Open defined URL after clicking OK Button in Messagebox

    I use Android Enterprise Devices (Zebra TC57 + TC27) on MobiControl 15.1. I want to open a defined URL with chrome after clicking the OK button. This script just opens chrome, because i cant find a way to define a URL... var buttonLabels = ['OK'];mobicontrol.message.createInfoDialog('Text for Messagebox').withButtons(buttonLabels[0]).withCallback(onConfirm).show(); function onConfirm(result) {if (result.buttonIndex != null) {mobicontrol.log.info('The OK button was clicked');mobicontrol.app.start('com.android.chrome');}} This old sendintent script works fine but there's no way to put this in a showmessagebox. sendintent -a "https://google.com#Intent;action=android.intent.action.VIEW;end"

    Android Scripting
    3 years ago
  • 0 votes 6 answers

    Trying to remove built in programs from Android devices Solved

    I am trying to remove built in applications like Samsung store and other Samsung apps. Also trying to remove some stuff that i don't need. Also is there a way to make home shortcuts from apps already existing on the device? Device:                      Samsung Tab A ( 2019)SOTI agent version:    14.5.5.1023

    Android
    4 years ago
  • 0 votes 2 answers

    Is there a way to script wallpaper centered instead of stretch on Android ? Solved

    I have managed to file sync the picture local and got it to apply via "Send Script" but the image is stretched. I have tried matching the resolutions but still don't have any change.Device: Samsung Tab A (2019)Soti agent: 14.5.5.1023

    Android
    4 years ago
  • 0 votes 6 answers

    Custom Script - Error: Module "ini" not found

    Hi All, I have v15.2.3.1033, working with TC21 (Android 10) (a couple of TC20 (Android 8.1.0) too). I have a custom script that requires ini : var ini = require('ini');  As per https://www.soti.net/mc/help/javascriptapi/en/tutorial-commonTextDataFormats.html#INI-Support My issue is that as stated in the above, the ini extension is built into the agent, but my script run fine on some devices, but others I get the subject error. Even devices from the same enrolment rule, some work, some say Module "ini" not found. Any ideas? Thanks, Gary

    Android
    4 years ago
  • 0 votes 2 answers

    Battery Optimization disable

    The Pixel 5 phones we are using do not accept the battery optimization script I had found. batteryoptimize allow|enable <app name> The logs says... Script command is not supported by device (batteryoptimize) I have disabled "allow doze mode" in the feature control profile.  Is there a different script that I am unaware of or a different setting? Device: Pixel 5 Mobi Agent: 14.5 Mobi Console: 15.2 (cloud)

    Android Scripting
    4 years ago
  • 0 votes 4 answers

    Install unknown apps within a "specific app settings"

    Hello, We try to automate this setting so any help is welcome. Thanks!

    Android
    4 years ago
  • 0 votes 18 answers

    Change font size and display size Solved

    Hi all, I'm trying to figure out how to set the font and display size on an Android device through scripting. Seen many topics here about scripting but didn't found what I was looking for. First try was to enable watchsettings through script => Script command is not supported by device Second attempt was to check the android API, but get a bit lost. Anyone experience of setting the font/display size by scripting for an Android 10 telephone? (Agent version 14.5 build 1011 - MDM API = Advanced Android Plus 1.0, Android Plus 1.16, Work managed device, RC+)

    SOTI MobiControl
    4 years ago
  • 0 votes 2 answers

    Disable screen timeout in lockdown

    I'm having some trouble with getting the screen to not timeout when in lockdown. I have the Authentication profile pushed out with "disable lock screen" selected. The phones will be on person most the time so the Feature profiles "keep screen on while charging" won't be so helpful. I have attempted pushing out the script "writesecuresetting - sys screen_off_timeout 600000" for a 10 min screen timeout, but it never changes the settings on the phones we are testing with. I'm not sure if that is a generic android script that will work on any device or for Zebra phones that I have successfully used it for previously or the Authentication profile is blocking it in some way. Devices: Pixel 5 and Spectralink Versity 9553 Mobi Agent:  14.4.6 Build 1001 (Spectralink requested the apps be set to not update) 14.5.0 Build 1011 (Pixel is not being restricted) Mobi Server: Version: 15.2.2.1080 (Cloud)

    Android
    4 years ago
  • 0 votes 2 answers

    Android+ write to an .ini file to have Geofence name as Custom Data? Solved Locked

    Hi, I have a geofence rule set up that starts an application to send an SMS message when the geofence is entered/exited.  I've tried to find a way to include which geofence name in the SMS but am unable to get that information on to the device for the application to read.  The application doesn't support intent extras, but this may be the way to go if MC can't do it. What I want is to have a script run when the geofence is entered that updates an .ini file with the name of the geofence, e.g.    [Geofence]    value=LocationNamehere Has anyone tried this?  Any solutions? We're using MobiControl v13 and the devices are mostly running Kitkat. I want a simple, elegant  solution. I don't want to use relocation/file sync rules if possible. Thanks in advance Adam.

    MobiControl - Android Script Engine
    4 years ago
  • 0 votes 3 answers

    Grant access to a folder

    Hello,  Im getting an error message "Access denied" when im trying to push the deviceconfig  xml file  under "/storage/IPSM/honeywell/persist" .  How to grant access to this folder please .  Best regards.

    Android
    4 years ago
  • 0 votes 3 answers

    Install security patches on Android 8.1 devices Zebra TC51/TC56/MC33

    Hello All, i run in trouble to start the installation of security patches from Zebra. I transfer the file (via filetransfer ;in this case ATLAS_DELTA_UPDATE_02-32-04.00-OG-U10-STD.zip). The file is stored in %SDCARD%. I crate a package with script. But i was not able to run the file via script. Can you help me with the right script / procedure? Thank you

    Android Scripting
    4 years ago
  • 0 votes 15 answers

    script to start OEM update with the autoinstall folder Solved Locked

    Hello ,  I uploaded some file with the file Synchronization rule into the Folder /sdcard/honeywell/autoinstall (to update the OEM version) , but now i would like to start the autoinstall with a script !! Can someone help me with this topic please . Thank you in advance. Best regards.

    SOTI MobiControl
    4 years ago
  • 0 votes 1 answer

    Can I stop Google Service in Android Smartphone via script or Profile

    My Application have been error with google service (Google Map Service) So, I want to stop google map service or other service it I want. Can I?

    MobiControl - Android Script Engine
    5 years ago
  • 0 votes 5 answers

    Is it possible for an inhouse build app to get the SOTI DevicesName Solved

    Hello, I'm investigating the possibility to retrieve the DeviceName used by SOTI. From within a inhouse build Android Application. I'm not developing it myself, but I hoped it would be possible to get this info from Intend or JS or using some Identifier to query rest API of the server...Devices : Android Enterprise DOAgent v14.1.7.1117Mobicontrol v15.2.2.1080 Thanks  Dennis

    Android Scripting
    5 years ago
  • 0 votes 3 answers

    Delete File from Android Enterprise Device Solved

    I'm looking for an easy, ad-hoc method to remove a file from an Android Enterprise device using scripts. In the past, the "del" command was supposed to work, but no more. http://www.soti.net/mc/help/v15.2/en/scriptcmds/reference/androidplus_enterprise_do.html

    Android Scripting
    5 years ago

Top 3 Contributors of The Week

View All

Earn Contributor Badge

More info
  • Diamond
    Diamond New !

    Top-tier experts who are delivering outstanding content. Should have more than 7000 points.

  • Platinum

    Experts who are consistent with great content. Should have more than 1000 points

  • Gold

    Highly experienced members with valuable inputs. Should have more than 700 points

  • Silver

    Beginners taking the initiative. Should have more than 500 points