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 5 answers

    Chrome - Term of Use - Automatic acceptation

    Hi the SOTI community,  We are using profile with Kiosk mode. Recently, I've created Web Application from the Managed Google Play Store. It works well on my test mobile. But I'm now block when I want to deploy those applications in Kiosk mode on new devices as the web application use Google Chrome, and it doesn't want to open until we accept the term of use which are not displayed in Kiosk mode. As I have 500 devices to deploy, I'd like to avoid to do it manually. Is there a script to automatically accept the Chrome term of use? Device : Crosscall Core X5 Thank you in advance 

    Android Scripting
    a year ago
  • 0 votes 12 answers

    Need help integrating SOTI MobiControl into our DevOps pipeline Solved

    Hello everyone, I'm looking to integrate SOTI MobiControl into our DevOps pipeline, specifically aiming to implement CI/CD by uploading an APK file via the POST /packages API. Unfortunately, I've been stuck for several days now and could really use your help. Here's my current script: #!/bin/bash# Fetching the APKcurl -u [USERNAME]:[PASSWORD] -o "/home/[USERNAME]/app_name.apk" "https://nexus.example.com/repository/raw/apk/env_dev/release/app_name.apk"# Setting base variablesbase_url="https://soti.example.com/MobiControl/api"auth="Basic [BASE64_ENCODED_CREDENTIALS]"content_type="multipart/related"content_type2="multipart/related; boundary=content"apk_path="/home/[USERNAME]/app_name.apk"# Getting access tokenaccess_token=$(curl -s -X POST "$base_url/token" \    -H "Authorization: $auth" \    -H "Content-Type: $content_type" \    -d "grant_type=password&username=[USERNAME]&password=[PASSWORD]" \    | jq -r '.access_token')echo "Access Token: $access_token"# Sending application download request to MobiControlcurl -X POST "$base_url/packages" \  -H "Authorization: Bearer $access_token" \  -H "Content-Type: $content_type2" \  -d @- <<EOF--contentContent-Type: application/vnd.android.application.metadata+json{ "DeviceFamily" : "AndroidPlus", "PackageName": "package", "PackageVersion": "1.0"}--contentContent-Type: application/vnd.android.applicationContent-Disposition: attachment; filename="app_name.apk"--content--EOF However, the server returns the following message: "Internal Server Error". For your information, I'm using version: 2024.0.1.1020.Any help would be greatly appreciated!

    SOTI MobiControl
    a year ago
  • 0 votes 5 answers

    Issues with Custom Attributes not Renaming Devices

    Hello, I need to rename several devices and have seen that this should be possible through CA. I want to use the macro %AUTONUM%. CA has been followed as per following links:  https://discussions.soti.net/articles/000002293 and https://discussions.soti.net/thread/bulk-device-rename I have created a CSV file with the correct content, and the CA is populated at Device Details, which is also visible there. The problem is that the device is named exactly "Model Name %AUTONUM%", that is, the macro does not work correctly. I've also seen that you can send a script (included in the previously referenced links), but it makes no difference. Should this work or not?

    SOTI MobiControl
    a year ago
  • 0 votes 4 answers

    Is there a script (legacy or java) to relocate devices?

    HI All We are looking to stage/enroll a few thousand devices and we don't want to load all the applications etc at the staging site. Instead, rather have a button on the lockscreen that triggers a move by the user, to the live/infield folder where it will adopt the policies it needs and download the applications etc. Has anyone done this before? Is it possible? Your assistance will be much appreciated.

    Android Scripting
    a year ago
  • 0 votes 3 answers

    Android MobiControl Script to change default keyboard

    Hi, We use 'Simple Keyboard' as the primary keyboard across our devices, as we do not like the fact that Android 10+ uses Gboard which has GIFS.  Is there a way to set this as the default keyboard across multiple devices? We have 100 odd devices which need changing.  Any help would be appreciated! Thanks Craig 

    SOTI MobiControl
    a year ago
  • 0 votes 6 answers

    Script to so send SMS

    Hello Is there a way that I can force all my devices ( all zebra et45 with SIM card in them) to send a SMS to a specific phone number? I assume that if it is possib I need to do this in order to organize what phone number I have on each device. So is there a way to write in the content of the SMS the imei of each device like %IMEI% or something like this Otherwise is there a way to automatically associate each device with their phone number?

    SOTI MobiControl
    a year ago
  • 0 votes 3 answers

    Start bluetooth search remote by Script on Zerbra and Honeywell

    Hello, I would like to make the Bluetooth names of my devices permanently visible. Currently, I can only find them when I go into Bluetooth settings. This would be for both Zebra and Honeywell devices. Alternatively, it would also be good if it could be started manually via a script.

    SOTI MobiControl
    2 years ago
  • 0 votes 6 answers

    Identify and Blacklist certain android settings

    Hello, I'm trying to add an bluetooth shortcut to our lockscreen. The user should be able to add a new connection but not go any further settings wise. We are using Honeywell CT45P devices which are AE deployed, the lockscreentype is Activity Suppression. I managed to open the 'connected devices' screen (Screenshot 1) and the 'identify_activity' script will return 'com.android.settings/.Settings$ConnectedDeviceDashboardActivity'. But in this screen the user gets the option 'Connection preferences' (Screenshot 2) where several settings / menus can be accessed which is not what we want.If I try the 'identify_activity' script in the 'Connection preference' section the response is 'com.android.settings/.SubSettings' which is not helpful. Is there a way to determine and block this settings seciton? A call for the third screen ('pair new device') could also help but the response for identify_activity is also 'com.android.settings/.SubSettings'. Thanks in advance for your help.

    Android
    2 years ago
  • 0 votes 9 answers

    Add Home Screen Item which sends script to device Solved

    Hello, sometimes our devices have an internet connection via WIFI or mobile but they are shown as disconnected in the mobicontrol console. I think that the script '_resetfailedrcdetectionflag restartagent' would help in this instance but as there is no connection from the console to the device I can't send the script. My idea was to create a home screen item which execute the script but I don't know which action need to be chosen or how to build the intent for the script. The devices are enrolled via AE and we are using the activity suppression in our lockscreen. Kind regards, Lucas

    Android
    2 years ago
  • 0 votes 4 answers

    Change display size

    Hello, I need to change the display size property on all of my devices. Is there any script to allow me to make this? I know that exists one to change font size, but I need to change display size. Datalogic Skorpio X5 Android 10 Agent version 15.1.5.1049 API = RC Virtual Display, Work Managed Device, Advanced Android Plus 1.18, 1402

    Android
    2 years ago
  • 0 votes 7 answers

    Read information from another app Solved

    Is it possible to read some information like names or IDs from another installed application on a Soti managed device? For example we have an app called Route Master ( or Sono) and for the sake of security we want to know the name of the person that is using each device. To use Route Master each user has to insert an unique ID and name in the app, sort of like an account.

    SOTI MobiControl
    2 years ago
  • 0 votes 3 answers

    Best way to update Chrome Browser automatically?

    Good Afternoon. I am looking for a way to update Google Chrome on the android samsung galaxy A7 light automatically. We currently do not have chrome pushed by the application catalog since Chrome was already on the device. Is there any way to automatically update it using a script in soti? 

    SOTI MobiControl
    2 years ago
  • 0 votes 5 answers

    Intent Script to Connect and Disconnect OpenVPN Solved

    Dear Support Community, i'm not fimilar with Android Intents. I tried to figure it out how they work to get out a script but i'm out of ideas. I tried to build my script by using different informations. These might be the best: CONNECT WITH PROFLE Intent openVPN = new Intent("net.openvpn.openvpn.CONNECT"); openVPN.setPackage("net.openvpn.openvpn"); openVPN.setClassName("net.openvpn.openvpn", "net.openvpn.unified.MainActivity"); openVPN.putExtra("net.openvpn.openvpn.AUTOSTART_PROFILE_NAME", "PC MYPROFILENAME "); openVPN.putExtra("net.openvpn.openvpn.AUTOCONNECT", true); openVPN.putExtra("net.openvpn.openvpn.APP_SECTION", "PC"); if (openVPN.resolveActivity(getActivity().getPackageManager()) != null) { startActivity(openVPN); } DISCONNECT Intent openVPN = new Intent("net.openvpn.openvpn.DISCONNECT"); openVPN.setPackage("net.openvpn.openvpn"); openVPN.setClassName("net.openvpn.openvpn", "net.openvpn.unified.MainActivity"); openVPN.putExtra("net.openvpn.openvpn.STOP", true); if (openVPN.resolveActivity(getActivity().getPackageManager()) != null) { startActivityForResult(openVPN, 0); } I tried the disconnect first because it seamed to be the easier part and came up with different scripts but none of them worked: sendintent -a "intent:#Intent;action=net.openvpn.openvpn.DISCONNECT;component=net.openvpn.openvpn;B.STOP=true;end;" or sendintent -a "intent:#Intent;action=net.openvpn.openvpn.DISCONNECT;B.STOP=true;end;" or sendintent -a "intent:#Intent;action=net.openvpn.openvpn.DISCONNECT;B.net.openvpn.openvpn.extra.STOP=true;end;" I guess i've tried them all but unforunately none of them worked. Hope you can help!

    Android Scripting
    2 years ago
  • 0 votes 9 answers

    Updating/Writing to INI file on Android Solved

    Hi all, I have been working with a Honeywell CT40 to iron out the configuration before we roll it out to our end users and the last thing I am struggling with is having the built-in SmartTE app use the device name for the WSID. I figure the best way to do with would be to write the SOTI %MCDEVICENAME% to the staylink.ini file where the app hosts this file. Is there any way to script this out? This realistically only needs to be done either when the device is configured or renamed

    Android Scripting
    2 years ago
  • 0 votes 7 answers

    Remove accounts from device using script (idealy) Solved

    Hello, I have a multiuser devices where for example:Morning shift at a factory pickup a device and logs-into MS apps.Later on he hands over device to afternoon shift, but forgot to log-off his MS account.MS apps can not get missused thanks to Intune's MAM policy that required PIN code while opening the apps.BUT!I need to log-out the other user, so I created a script in lockdown that users can click and it runs this:clearappcache com.microsoft.office.outlookclearappcache com.microsoft.teamsSo it clears cache, but since the account is still stored in the phone itself the afternoon shift can still log-onto his account.I couldnt find any script that would get rid of the account from device. So how do I do this?"I need users to be able to remove account within Kiosk mode"

    Android Scripting
    2 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
    Platinum

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

  • Gold
    Gold

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

  • Silver
    Silver

    Beginners taking the initiative. Should have more than 500 points.

  • Bronze
    Bronze New

    New contributors starting their journey. Should have more than 250 points.