I'm using GMD Gestures to perform various actions, activated by gestures. In particular, I can draw a gesture (even on a lock screen) and dial a number (without unlocking).
I can use any app in a same way, but it activated under lockscreen and (after gesture) I need to unlock device to use this app.
My question: is there any way (using AM) to start activity (or perform UI action) to activate app over lockscreen (bypassing unlocking, the same way as dialer does)? It would be very convenient to be able to run navigation app in this manner.
show app over lockscreen
Moderator: Martin
Re: show app over lockscreen
This is android security. Only some system app has the privellege to bypass the lock screen. To make sure your gesture work in lockscreen, you have to redirect it to automagic flow. So if you GMD gesture function only launch app X. Then now you have to set it to launch shortcut, automagic flow. In the flow, use launch app, app X. After the launch app, check if the screen is currently keyguard locked. If yes, you have to disable the keyguard (so the screen unlock) and directly enable it back afterward. viewtopic.php?f=4&t=1705
A bit hassle to launch an app, but it seems to be the only way to do it.
A bit hassle to launch an app, but it seems to be the only way to do it.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: show app over lockscreen
Thanks for your answer.
GMD is fine to catch gestures on the lockscreen, and it can run AM shortcuts. Yes, I've thinked about unlock-launch-lock task, but it's very ugly workaround. Is there some way for rooted device to give app nesessary lockscreen-bypass privileges (temporary or even permanently)?
GMD is fine to catch gestures on the lockscreen, and it can run AM shortcuts. Yes, I've thinked about unlock-launch-lock task, but it's very ugly workaround. Is there some way for rooted device to give app nesessary lockscreen-bypass privileges (temporary or even permanently)?