Android + Device Scripts?

S
Scott
Union Pacific Railroad

Any doing anything with device side scripts?  It appears you can't set any variables.  Attempting it returns "Script command is not supported by device (set)".  Given that, you have almost 0 ability to use "if".  No conditionals make the script utility almost worthless.  Anyone using it conditionally?

7 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
7 years ago

I use the scripting functionality constantly with Android+ devices. The scripting capabilities are honestly one of the key differentiators that led us to standardize on MobiControl for all Android deployments, even without the conditionals. What is an example use case for which you would need a conditional statement? Maybe there is another method for accomplishing the same end result.

W
WFeliberty
7 years ago

Came across this thread while trying to research how to script the deletion of old picture files (past 30 days) that are taking up space on the drive. Any recommendations for this? We have some apks that are built in house that we can adjust to do this function, but was hoping not to go that far. 

MD
Matt Dermody Diamond Contributor
7 years ago