How to turn on locked phone and launch app? - Tasker Tips & Tricks

I have an action which opens the camera app when the phone is shaken. The problem is that it only works when the phone display is already turned on. Is there any way that I can get the action to work even if the display is off and locked? (I usually use fingerprint to unlock)
The phone is an LG V20 running Oreo.

Tasker activate lockscreen camera
itm said:
I have an action which opens the camera app when the phone is shaken. The problem is that it only works when the phone display is already turned on. Is there any way that I can get the action to work even if the display is off and locked? (I usually use fingerprint to unlock)
The phone is an LG V20 running Oreo.
Click to expand...
Click to collapse
Don't know if it works with your device, but I do the following:
1) Display -> Turn On
2) System -> Send Intent
Action: android.media.action.STILL_IMAGE_CAMERA_SECURE
Target: Activity
If this was helpful, please hit the thanks button :good:

Related

[Q] Lots of Questions about everything !

Hello I have lots of questions
1) is there a way to make active display or tap to wake up phone?
2) on my previous phone if I clicked on the volume key button the phone would turn on?- can I do it on here?
3) there are many more apps like contextual services and lots of other Motorola apps. Which are safe to disable?
4) is there a way to block OTA updates?
5) when you swipe down using two fingers you get the notification pull menus. But when I click the wifi button it opens the settings app and goes to wifi. Can't I edit it so it goes DIRECTLYY to. Toggle wifi?
6) pin on lock screen - on my old phones when I input my pin it unlockes. This is so stupid and takes more longer after inputtingmy pin. I then have to click enter? How do I automate that
1) You can use AcDisplay. You can't tap to wake the phone, a custom kernel would be required for that.
2) Not by default.
3) I leave Assist, Alert, Audio effects, Help and Migrate disabled. I don't know about the rest, but those are safe.
4) Just don't install them. I don't know if you can disable the alerts though.
5) Hold the wifi button . Works with other settings as well, try it out.
6) Well, you could try using an app that replaces your lockscreen which has this feature, such as the Home Screen Lock of Smart App Lock. By default you can't though.
Hope I helped.
Krisshp said:
5) when you swipe down using two fingers you get the notification pull menus. But when I click the wifi button it opens the settings app and goes to wifi. Can't I edit it so it goes DIRECTLYY to. Toggle wifi?
Click to expand...
Click to collapse
I assume you are using Lollipop. The wifi-icon and the SSID are two seperate buttons. Tapping the icon switches wifi on/off. Tap on the SSID and it will take you to settings
I've found that long-pressing the wifi button will toggle it on and off.
hippy dave said:
I've found that long-pressing the wifi button will toggle it on and off.
Click to expand...
Click to collapse
Ah. That must be how kitkat behaves
Yep
mpeL said:
1) You can use AcDisplay. You can't tap to wake the phone, a custom kernel would be required for that.
2) Not by default.
3) I leave Assist, Alert, Audio effects, Help and Migrate disabled. I don't know about the rest, but those are safe.
4) Just don't install them. I don't know if you can disable the alerts though.
5) Hold the wifi button . Works with other settings as well, try it out.
6) Well, you could try using an app that replaces your lockscreen which has this feature, such as the Home Screen Lock of Smart App Lock. By default you can't though.
Hope I helped.
Click to expand...
Click to collapse
Thanks for that, didn't know holding the button toggles it!!! Wish it was more simpler!!!
Bit disapointed thaty I cant use the volume keys! thanks for the help

[Q] Lollipop lockscreen question

In KitKat, pressing the power button or swiping up after a Moto Wave would skip the lock screen and go straight to android.
In Lollipop, pressing the power button brings up the lock screen. Swiping up from the Moto Wave screen flashes the lock screen briefly, then goes to android.
I don't remember how I had disabled the lock screen in KK, but in LP security->screenlock settings, there is no option to disable the lock screen.
Any thoughts?
Going to Settings > Security > Screen lock, and changing your setting to None will disable the lockscreen.
Leraeniesh said:
Going to Settings > Security > Screen lock, and changing your setting to None will disable the lockscreen.
Click to expand...
Click to collapse
As per my original post, LP settings do not give you a 'none' option.
mageus said:
As per my original post, LP settings do not give you a 'none' option.
Click to expand...
Click to collapse
Strange. Does for me
Leraeniesh said:
Strange. Does for me
Click to expand...
Click to collapse
And you're on Lollipop, I presume?
Stock OTA upgrade, not rooted?
Mag, I'm on stock lollipop and I also have the option..
mageus said:
And you're on Lollipop, I presume?
Stock OTA upgrade, not rooted?
Click to expand...
Click to collapse
I'm on a modified system image, however I'm not aware that this was an add on...
Every other device running lollipop has this, hell, every devide running 4.0+ has it.
Can you upload a screenshot of what your's looks like?
Screenshot attached.
(Not a photoshop)
mageus said:
Screenshot attached.
(Not a photoshop)
Click to expand...
Click to collapse
I've read in another forum that removing the "Guest" user solved this problem. Others said running "Clear credentials" in the Security options helped them.
mageus said:
In KitKat, pressing the power button or swiping up after a Moto Wave would skip the lock screen and go straight to android.
In Lollipop, pressing the power button brings up the lock screen. Swiping up from the Moto Wave screen flashes the lock screen briefly, then goes to android.
I don't remember how I had disabled the lock screen in KK, but in LP security->screenlock settings, there is no option to disable the lock screen.
Any thoughts?
Click to expand...
Click to collapse
By lockscreen, do you possibly mean the keyboard (the one that shows notifications and you just swipe up on to remove)?
If so, mine does that too by pressing power. I just made a tasker task that turns the keyboard off and have it run at boot or if the screen is on. Keeps my PIN enabled when no Smart Lock conditions are met, but it now takes me straight to my home screen when I press the power button instead of using Moto's active display.
EDIT: wait, that always bypasses the PIN. Hmmmm
Its under settings-security-screen lock (1st setting).
Yes, it's the guest user issue. Funny thing is, I don't remember going into the Users settings (maybe the kids played with the phone).
For others reading, if you create another user or even use the Guest user once, LP disables the "none" option under Lock Screen.
It's silly how to fix it, though. You can't disable the Guest account from the settings page. You have to switch to the Guest user, then disable the Guest account from within the Guest environment. Which . . . doesn't actually disable the Guest account, since it still shows up in the User settings page.
In other words, not only is it unclear and unintuitive how to fix the problem, there's no visual indication in the UI that a change has initially occurred, or afterwards when the condition has been reversed.
Thanx for the replies.

[Q] How to disable Samsung Fingerprint scanner on home WiFi w/ secure settings

Hi, i'm having problems disabling my fingerprint scanner whenever i'm connected to my home network..
I created new profile > state > net > wifi connected, then I entered my SSID and blah blah, that part works, but when I enter fingerprint lock as entry task (secure settings > custom rom actions > samsung fingerprint lock > disable) it does not work. Can anyone help me ??
Yes this custom rom action "Samsung Fimgerprint Scanner ON & OFF" doesn't work anymore in MM but working fine in LL and KK. I think at the moment, there's no solution yet.
GrippingSphere said:
Yes this custom rom action "Samsung Fimgerprint Scanner ON & OFF" doesn't work anymore in MM but working fine in LL and KK. I think at the moment, there's no solution yet.
Click to expand...
Click to collapse
Shame..hope they'll fix it soon
I've been trying to use this today too. Shame it's not working in 6.01. Is there likely to be a fix for it?
You can use the Admin/Password/Disabled to remove the finger lock but can't enable it again.
What I've done for now is create a shortcut on my home screen which opens the settings menu the presses the dpad to go to the fingerprint menu (quick settings at top) and switch on fingerprint lock. Not a great way to do it but it works.
Then use the Admin thingy in tasker to switch it off when I want.
somersby said:
Shame..hope they'll fix it soon
Click to expand...
Click to collapse
Chrissssssss said:
I've been trying to use this today too. Shame it's not working in 6.01. Is there likely to be a fix for it?
You can use the Admin/Password/Disabled to remove the finger lock but can't enable it again.
Click to expand...
Click to collapse
Unfortunately it's pretty unlikely that there ever will be a fix for it, as the developer stopped working on secure settings in early 2015.
Recently there haven't been any updates, nor rumors that he will continue.
It's a little miracle that most of the options are working on Marshmallow.
I'm sorry I have to disappoint you
Sent from my LG-H815 using XDA Labs
You can disable Samsung Fingerprint lock when on home WiFi by using Xposed module "No Lock Home".
Disabling it thru Secure Settings plugin is unlikely to be implemented as mentioned in the previous post.
GrippingSphere said:
You can disable Samsung Fingerprint lock when on home WiFi by using Xposed module "No Lock Home".
Disabling it thru Secure Settings plugin is unlikely to be implemented as mentioned in the previous post.
Click to expand...
Click to collapse
Yes but when I try and install Xposed for my samsung s6 it gets stuck in bootloop so I have to uninstall it?
Have you got any solution to it?
somersby said:
Yes but when I try and install Xposed for my samsung s6 it gets stuck in bootloop so I have to uninstall it?
Have you got any solution to it?
Click to expand...
Click to collapse
Try this custom version by Wanam for Samsung: http://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3180960

Fingerprint Scanner: Lockscreen useless

With the fingerprint scanner's ultra fast response, entering the home screen is very quick. Thus, the lockscreen is rendered useless. Is there any way fingerprint scan opens the lock screen instead of the home screen just like how the iPhone implements it?
The fingerprint is for unlocking, so why showing the Lockscreen when you want to unlock. Just press the power button.
But I think it should be possible with Tasker, give it a try.
It should be useless, step back and one step more for unlocking -> loss of time.
I would like to have a option to double tap for waking the device. Just for checking notifications/time and not to press power button every damm time.
Is it possible?
Jannomag said:
The fingerprint is for unlocking, so why showing the Lockscreen when you want to unlock. Just press the power button.
Click to expand...
Click to collapse
AntoSVK said:
It should be useless, step back and one step more for unlocking -> loss of time.
Click to expand...
Click to collapse
Well in the lock screen, notifications are shown instantly, and looks cleaner; whereas in the home screen you have to swipe down from the status bar to access them. Apple have thought of it and so the iPhone 7 functions in this manner.
So what I'd like to see is: Fingerprint scan > double tap notification > app
Instead of: Fingerprint scan > swipe down from home screen> tap notification > app
An ability to switch to whichever sequence you want will be great.
Take a look at this.
As I already said, Tasker should be an option for your purpose.
My opinion is another than yours, I think it's very annoying what Apple did and my wife is always yelling at her iPhone because of this "feature".
I didn't have this on my previous i6s because I used to jailbreak and there was only iOS9.
The jailbreak issue was the reason for me why I leaves Apple for Huawei.
Now I have the original smart cover for my P10 and the most annoying thing of this cover is, that Huawei won't allow third party apps the access to the smart cover lockscreen, so they can display notification icons on it.
But when I want to turn on my screen I either lift the cover or, when it's already lifted, I push the power button. Even though I'm a leftie I think it's a good solution and works very well.

[HELP] Launch app on security lock screen

How launch app when screen is off and security lock? (I want the radio to wake me up) I try: 1. Secure settings --> Configuration:Screen & Keyboard Light On (10sek) 2. Wait 1sek 3. Show Scene --> Name: Popup ,Display As: Activity 4. launch App: "(in my case is "eskaGO" This task try launch this app but can't launch to the end. When Task is end nothing happened. But when I manually unlock screen and see what app work in background I see this app. It's look like this task try launche app but can't launch it to the end.
I try too with AutoLunch but is this same.
Can anybody help??
Can you use Smartlock to prevent your device from locking at home?
lauralbaby said:
Can you use Smartlock to prevent your device from locking at home?
Click to expand...
Click to collapse
This not solves the problem. I don't need this only in home. I a lot travelling.
I try with secureTask plugin with off and on keyguard but this disable all securelock.
Well it sounds like the app just can't launch over the keyguard, so the task can't complete till the phone is unlocked. If you're comfortable with it, you can change the timeout (time it takes for the lock to be activated) to a really high number before you go to sleep, then after the app wakes you up, have it changed back to normal.
Thanks for solution but this not solve the problem. In Your idea every day before I go to sleep (when I activate alarm) I should count how many time screen should be unlock. I not everyday wake on this same time or it's time when I stay 1-2 weeks in this same place and wake up every day in this same time.
Every time when I set alarm I must count and set unlock screen Is not good idea.
Maybe somone else have Idea how to launch it?
gonzolex said:
Thanks for solution but this not solve the problem. In Your idea every day before I go to sleep (when I activate alarm) I should count how many time screen should be unlock. I not everyday wake on this same time or it's time when I stay 1-2 weeks in this same place and wake up every day in this same time.
Every time when I set alarm I must count and set unlock screen Is not good idea.
Maybe somone else have Idea how to launch it?
Click to expand...
Click to collapse
which counting are you talking about? I think he meant setting the grace time of lock screen to something like 7*24 hours, that way even if screen is off, you don't really engage the lock.
This could be a security drawback and might affect your Moto display/Samsung Always screen on function if you have them.
OK maybe I something wrong understand.
Maybe You can write how I should configure this task? It will be very helpful to me
Now in task profile I set time to start and end my alarm task.
alienyd said:
which counting are you talking about? I think he meant setting the grace time of lock screen to something like 7*24 hours, that way even if screen is off, you don't really engage the lock.
This could be a security drawback and might affect your Moto display/Samsung Always screen on function if you have them.
Click to expand...
Click to collapse
lauralbaby said:
Well it sounds like the app just can't launch over the keyguard, so the task can't complete till the phone is unlocked. If you're comfortable with it, you can change the timeout (time it takes for the lock to be activated) to a really high number before you go to sleep, then after the app wakes you up, have it changed back to normal.
Click to expand...
Click to collapse
Can You help me understand this and write how should look like this task?
gonzolex said:
OK maybe I something wrong understand.
Maybe You can write how I should configure this task? It will be very helpful to me
Now in task profile I set time to start and end my alarm task.
Click to expand...
Click to collapse
When the screen is turned off, it takes time to activate the keyguard/lock. Usually it's set to 1 second or less, so as soon as the display is off, the lockscreen is on. This can be changed (and in fact this is what Smart Lock does) so it won't activate as fast. Smart lock won't work in your conditions, so we can use Tasker plugins.
You need to get the plugin Secure Task if you are not rooted, Secure Settings if you are. Secure Task needs permissions granted in ADB, but the Help will explain the process.
Once you have it working, you can add the "secure settings" action for lockscreen timeout (see screenshots, it may be called something different on your device.)
There's a read action as well as write, you should read the initial value before changing it, save it, and restore it after the alarm goes off.
(In the Secure Settings plugin it's called Device Settings but other than that similar.)
Thanks for this
Now I undarstand that:
I have other profile where is task what will launch my app and where I set time to start this profile.
If I want that profile work - app launch correctly - I must before I go sleep launch other task (this what You wrote) what don't secure lock my screen.
Right? Did I understood correctly?
Yes, if you have a sleep profile, or if not, set it to activate at 2230 or whenever your bedtime is. The task will simply be Secure Task - secure settings - Read secure lockscreen_timeout (or whatever your device shows), so you can have a global variable of the typical timeout. Then Write secure lockscreen_timeout 99999999, as I posted in the screen shots.
And then have your wake up task activate at 7 or whenever, and then redo the lock timeout to the saved variable.
Ok,
But for example:
1. If I set this task to start 23:30 but since 23:10 i will not touch my phone this not work because screen still wil be secure lock ?
2. If I set this task to start earlier for ex. 21:00. On this time my phone is not protect if some one stole it and any one who get my phone will be have full access. Not always in this same time I will in the home.
Idea to solve my problem is good maybe someone else will need it.
For me is not good
It's not solve my problem
Maybe somone else have any idea how I can launch app when screen is secure lock
+ wifi condition
+ cell location
alienyd said:
+ wifi condition
+ cell location
Click to expand...
Click to collapse
yes, yes
+ anti theft application
I don't know what happened because to March everything working in my phone. In March I musted do factory reset and launch app in secure screen stoped working ;/
Earlier I use to tasker autoinput plugin and was working , now it write that autoinput can't unlock screen :|
So maybe something was changed/app had update and to launch app in secure screen now is other plugin
hmm that's weird. You must have done/changed something. I don't think any app, especially Tasker has changed anything since then.
alienyd said:
hmm that's weird. You must have done/changed something. I don't think any app, especially Tasker has changed anything since then.
Click to expand...
Click to collapse
I know that that is weird. But I don't know what happened because I done nothing special. Just made a task and profile and that was working. Earlier when I changed Rom and restore task everthing work good. Now stop working and I dont know why :|
Better... When this stop working I had try allone and try searching solution.
I made task like this:
1. Secure Settings - Configuration: Screen & Keyboard Light 10sek
2. Status Bar Set Expanded
3. Launch App: eskaGO
4. Wait 10 sek
5. Autoinput Action - Configuration Type: Text Value: Tasker
6. Autoinput Global Action - Configuration Action: Home
And this WORKED! it worked but every second time. Exactly the second time.
Because I thinked that is problem with my phone I made factory reset one more time and this it stopped working completely.
So I don't want belive that so powerful app like Tasker where is so much plugin and a lot of people who very good know this aplication that no one find solution for this.
Sorry I still don't understand your explanation...
If I have it right, you are trying to make an alarm clock out of the radio app.
Here is what I did to implement this idea:
trigger:
- display off
task:
launch app: notepad
alert: beep
result:
as soon as the screen turns off, I heard the beep. When I turned on the screen, I saw notepad app in the foreground.
requirement:
you will need to add something to trigger this during screen off. That extra condition should not turn on the screen. If it does, you should re-consider this whole condition.
The fact that notepad is running in foreground after unlocking means that the task was carried out as intended. If you can run the radio app, the playing should be turned on automatically the moment the app starts, or error you will have radio app running without actually doing anything.
if all these fail, please post a screenshot of your profile, task and log.
good luck!
How about using Appcloner for this? You clone the app and give it the capability to run on to of the lock screen. That's it. Good luck.
jdelcaribe said:
How about using Appcloner for this? You clone the app and give it the capability to run on to of the lock screen. That's it. Good luck.
Click to expand...
Click to collapse
I will try It
Can You tell me where in this app is this setting?
gonzolex said:
I will try It
Can You tell me where in this app is this setting?
Click to expand...
Click to collapse
Sure. Under display options, then choose " show app on lock screen".

Categories

Resources