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

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

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 DO
Agent v14.1.7.1117
Mobicontrol v15.2.2.1080

 

Thanks 

Dennis

4 Answers

Order By:   Standard | Newest | Votes
Dennis Vdh | posted this 12 November 2020

Interesting approach.
I used similar trick to use .js scripts in lockdown. 

Update :
Thanks Bernard

It is actually possible to retrieve te .db files used by Mobicontrol Agent on Android Enterprise DO devices.

mkdir /sdcard/TEMP
copy \data\data\net.soti.mobicontrol.androidwork\databases\settings \sdcard\TEMP\SotiSettings.db

  • 1
  • 0
christopheBERNARD | posted this 12 November 2020

Hello,

we used android + and mobicontrol has a database locate on the device

when device is enroll, we copy this database and place this into a public folder

in this database we have some information ...

 

Perhpas with android entreprise there is also a database soti ?

 

 

  • 0
  • 0
Dennis Vdh | posted this 11 November 2020

Wow thank you for the quick reply Raymond,

This is a very good idea.

I also stumbled on this approach. https://discussions.soti.net/thread/creating-a-text-with-device-name-in-it/
File sync a dummy file, and copy (rename) it to %devicename%.DeviceName

copy /sdcard/FileSync/AutoRunOnStartup/Rename.DeviceName /sdcard/Download/%devicename%.DeviceName

I will make sure our Developers look into both approaches.

  • 0
  • 0
Raymond Chan | posted this 11 November 2020

Your in-house app can implement its own intent to receive and store device name sent from MobiControl device agent at regular inteval (say every 15/30/60 minutes).

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback