There's a new home for Articles. Find Articles on Our Product Support Page.
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
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!
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?
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.
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
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?
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.
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.
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
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
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.
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?
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!
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
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"
Top-tier experts who are delivering outstanding content. Should have more than 7000 points.
Experts who are consistent with great content. Should have more than 1000 points.
Highly experienced members with valuable inputs. Should have more than 700 points.
Beginners taking the initiative. Should have more than 500 points.
New contributors starting their journey. Should have more than 250 points.