Hi all,
I'm looking for a javascript that I can run trough the task scheduler to a device that pushes an application to the forefront of the device every 5 minutes when the device is unlocked. (device is Android 14 / Xcover 6 pro Samsung)
I have a task scheduler running now with a legacy script that brings the app to the forefront every 5 min (script is: start package.name). The problem with this is, even when the user locks the device, the script will bring the app before the unlockscreen.
So i'm looking for a script that says:
If PDA locked
no push application
else if pda unlocked
start application every 5 min (bringing the application to the foreground every 5 min)
else
no push application
end
Thank you for you help!