VMware Workspace ONE Community
MarvP
Contributor
Contributor

Run Shell Command via AirWatch (intent)

Hello there, we have a problem with an internal Android App.


To solve the problem we need to delete the cache of this application.


Currently we uninstall & install the application to delete the cache but there must be a possibility to delete the cache via a command.


I found the adb shell command (example): pm clear com.honeywell.systemtools.autoinstall


Can I run this command somehow via AirWatch?


I can find ' RunIntent'  under Actions, so the possibility to run an Android Intent is there.


I´m not really familiar with android development


but I found this: https://docs.vmware.com/en/VMware-Workspace-ONE-UEM/1811/VMware-Workspace-ONE-UEM-Product-Provisioni...


Is it possible to run the command ' pm clear .....'  via an Android Intent?


Could you help me with this?


Thanks & Regards Marvin

Labels (1)
0 Kudos
2 Replies
jerk_store
Contributor
Contributor

Anyone want to comment on this?  I'm hoping to also call an intent...was wondering if anyone uses this outside of the staging area...like it if might be possible to write a line for during nfc or qr enrollment...

if not, then staging it is! 

0 Kudos
jerk_store
Contributor
Contributor

Oh...but there is a command line in the Remote Management feature...if the OP is still around.  You might be able to run the command line remotely from RM...I've run other commands from there that worked quite well.  logcat, etc...
0 Kudos