Scripts on Android Enterprise
- 16 June 2020
- MobiControl - Android Scripting
5 Answers- 0 Upvote
- 2 Followers
5 Answers
If 3- or 5-second delay doesn't work, you can try with a longer delay (say 25-30 seconds). If it works, reduce the delay gradually in more test(s) until the mechanism start to fail.
Thank you for your suggestion of a time delay, I will try that now.
Thanks
Hello,
The device remains online throughout all of this process. The devices are set to lock after 10 minutes of inactivity and doze mode is disabled on our devices.
Thanks
It seems that you try to kill an application and then restart it. Based on what you described, I would suggest you to add time delay between the kill and restart operation using "sleep #" script command. I would try with 3 -or 5-second delay if I were you.
Good luck.
Hello Natalie,
Thank you for your post,
does your device go offline when you try to perform this task? can you please verify what is the sleep time of the device and also do you have dose mode enabled on the device or feature control profile which has doze mode enabled?
Regards,
Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |