Showing App over lockscreen

286 views
Skip to first unread message

Scott S

unread,
Jul 13, 2014, 7:01:45 PM7/13/14
to tas...@googlegroups.com
My goal is to present an ICE (In Case of Emergency) scene over the lockscreen. Although 'scenes' cannot be directly displayed over a lockscreen, I have been using an Xposed mod that allows me to display an app over the lockscreen. However, I can't get an app created with Tasker to work in this manner. The app is Task > Show Scene. Is this simply not possible...a Tasker app won't respond like a traditionally-coded app?

My alternative is to use the scene as a wallpaper and change wallpaper in specific situations. If there's other ideas, I'm all ears.

Matt R

unread,
Jul 13, 2014, 10:30:46 PM7/13/14
to tas...@googlegroups.com
You tried showing the scene as a dialog? What about using the alert > popup action with show over keyboard checked?

Matt

Brandon Horwath

unread,
Jul 13, 2014, 10:35:35 PM7/13/14
to tas...@googlegroups.com
What about using the alert > popup action with show over keyboard checked?

keyboard *keyguard

I'm curious also, but since this temporarily bypasses my lock screen I'm not sure if it'll be ideal for what you want?

Brandon Horwath

unread,
Jul 13, 2014, 10:36:28 PM7/13/14
to tas...@googlegroups.com
Actually, I'm thinking an Overlay would work best. Those will display over applications, it stands to reason a lock screen would apply.

Scott S

unread,
Jul 14, 2014, 1:28:03 AM7/14/14
to tas...@googlegroups.com
Overlay- on my phone, I can't get overlays to show over lock screen. I really wish they would, as this would be ideal.

Popup- works, sort of. On my phone, it takes a moment for the popup to appear and close, and during those times, my home screen is available, as @Brandon stated, bypassing lock screen. I suppose I could set a long timeout, however, any wake lock turns on the display, for which is how I would like to activate the scene.

Something I did initially try was disabling built-in lock screen and having my ICE scene exit into a Tasker-based Lock scene. This works very well, unless the phone is rebooted, then it boots right to the home screen. I wish Android OS auto-booted to the lock screen, regardless of how it was turned off.

With regards to creating an app from Tasker...is it hit or miss, or should I be able to open it over my lock screen like I can do with normal apps, using the Xposed mod?

My Phone
Moto Droid RAZR M
Stock ROM, rooted
KK 4.4.2

Wietse van Buitenen

unread,
Jul 14, 2014, 1:45:39 AM7/14/14
to tas...@googlegroups.com
I am using an ICE Scene over my lockscreen.
At the time when I was looking into this, the only was I found to get it working correctly was to use WidgetLocker.
As this is a regular app, you can display Scenes over it.
It also has Tasker integration so you can destroy a Scene when you unlock WidgetLocker.
Since this works great I haven't looked into other options anymore..

Wietse van Buitenen

unread,
Jul 14, 2014, 1:47:02 AM7/14/14
to tas...@googlegroups.com
I have only tested this as Project in Tasker, not as exported app.

Scott S

unread,
Jul 14, 2014, 1:49:20 AM7/14/14
to tas...@googlegroups.com
Interesting. Is it actually an overlay of the lock screen, or as wallpaper of your lock screen?

Wietse van Buitenen

unread,
Jul 14, 2014, 2:55:20 AM7/14/14
to tas...@googlegroups.com
it's set as Overlay, Blocking so you can press on images and buttons..

Brandon Horwath

unread,
Jul 14, 2014, 3:07:34 AM7/14/14
to tas...@googlegroups.com
This works very well, unless the phone is rebooted, then it boots right to the home screen. I wish Android OS auto-booted to the lock screen, regardless of how it was turned off.

In that regard, you could have a global variable set when the action is performed. Then based on the retained global variable value and a device boot context that should start you at your custom lock screen.

Unfortunately, this would be after tasker goes active so there's a slight delay. The upside is you have to have a shortcut to tasker directly on your first homescreen (and know exactly what you're doing) to be quick enough to deactivate tasker before it activates the lock screen.

Scott S

unread,
Jul 14, 2014, 9:37:02 AM7/14/14
to tas...@googlegroups.com
Thanks; I'll give it a whirl.

Scott S

unread,
Jul 14, 2014, 9:38:43 AM7/14/14
to tas...@googlegroups.com
The problem here is there would be enough time to turn on USB debugging or whatever. Yeah, I'm just not willing to give anyone the opportunity.

Scott S

unread,
Jul 14, 2014, 3:11:07 PM7/14/14
to tas...@googlegroups.com
Though WidgetLocker and pop-up were good ideas, I decided to alter my original profile of using an Overlay and Lock scene, by increasing the Lock Timeout to well past my event. This way, my ICE Overlay will be visible upon turning on the display, absent of my OS lock screen. However, if phone is rebooted, the OS lock screen will be presented.

Jay M

unread,
Jul 14, 2014, 4:24:29 PM7/14/14
to tas...@googlegroups.com

If someone knows how to enable USB Debugging they would also know how to factory reset/wipe data and i dont no how you could stop them from having that opportunity. I just tested it and even with the keyguard enabled i could still boot to recovery.

Jay M

On 14 Jul 2014 14:38, "Scott S" <scott...@gmail.com> wrote:
The problem here is there would be enough time to turn on USB debugging or whatever. Yeah, I'm just not willing to give anyone the opportunity.

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Scott S

unread,
Jul 14, 2014, 5:06:54 PM7/14/14
to tas...@googlegroups.com, jaymen...@googlemail.com
Yes, you are correct, and I don't think there's a way to prevent such. Additionally, data can still be accessed via FDR, so there is inherent risk losing control over our devices. With that said, this thread is not about complete security, I simply wanted to protect easy access to my information.
Reply all
Reply to author
Forward
0 new messages