Script : read_activities

DV
Dennis Vdh
Katoen Natie
Edited 4 years ago
MobiControl - Android Script Engine
ANSWERS
MD
Matt Dermody Diamond Contributor
4 years ago

If it actually worked it would be pretty great. I would love to be able to use it to inspect an app for activities to see if there are any subactivities that can be launched directly. I haven't had any success with it producing any results however. 

DV
Dennis Vdh
4 years ago

Was thinking exactly the same thing. But have not been able to get any results.

Should we report this as a bug ?

J
JSMOD@SOTI
4 years ago

Hi Dennis,

Thank you for posting on SOTI Central.

After sending the script, you will need go to the Logs tab on the device -> Download Logs -> Device Agent Activity. Once the log file has finished downloading, open it and navigate to the end of the file (most recent timestamp). Look for entries such as the below:

  • Activities of [com.android.phone]: [com.android.phone/.SimContacts]

The above is a log example when running 'read_activities com.android.phone'.

I hope this helps!

Kind regards,