Start app under lock screen

222 views
Skip to first unread message

Janko Lah

unread,
Feb 14, 2024, 3:39:26 PM2/14/24
to Automate for Android
Hi, 

I am completely new user of Automate and just started to use app or better - trying to figure it out how it works

I don't know how to start up an app at desired time (user has to pick a time). Problem is that phone is locked and app doesn't start until phone is manualy unlocked. I can't find how to solve this. Third party app only turns on Hi-Fi at start so there is no other action - only start app.

Can someone help me?

thnx

Henrik "The Developer" Lindqvist

unread,
Feb 15, 2024, 6:12:19 AM2/15/24
to Automate for Android
To start an app at a specific time is as simple as:
  1. Flow beginning
  2. Time await
  3. App start
  4. (loop back to #2)
Indeed, app Activities, as started by the App start block, can't be launched while the device is locked, they will be delayed until its unlocked, that's just how Android works.
If an app supporting starting and running in the background it usually use service and broadcast receives, i.e. started using the Service start or Broadcast send blocks.
Reply all
Reply to author
Forward
0 new messages