Trigger task by pressing home button when on home screen - Tasker Tips & Tricks

I am trying to create a profile where I can add an extra function to my home button when on the home screen. But I can't get Tasker to react to home button press. I have tried both AutoInput and TouchTask, but none of them give any reaction. As I am using a Huawei Mate 9 Pro, which has a fingerprint scanner as a home button (no physical press, just touch/finger print), I have also tried both Fingerprint Scanner Tools and Fingerprint Quick Actions. They both work, momentarily, but after a short while the stock functionality takes over.
Does anybody know of a way to get tasker to react to home button/fingerpress press, only when on home screen, given the above limitations?
EDIT:
Fingerprint Scanner Tools works as a plugin to tasker (some times), but NOT when on home screen.

So, what's up with the app you mentioned in your other thread? https://forum.xda-developers.com/showthread.php?t=3603433
Didn't work as intended?

digitalpig82 said:
So, what's up with the app you mentioned in your other thread? https://forum.xda-developers.com/showthread.php?t=3603433
Didn't work as intended?
Click to expand...
Click to collapse
Nope. I got the intent stuff to work fine, but the custom home function work like crap...

You can't use Nova? I have it open my app drawer if I press home on my home screen

airgigorluck said:
You can't use Nova? I have it open my app drawer if I press home on my home screen
Click to expand...
Click to collapse
That's a very good suggestion, I did not think about that! :good:
Nova can directly run Tasker tasks as a shortcut. I used to set it up to run a task when I swipe up on an icon.
And I just tried it, you can connect this behaviour to the home button, too.

Related

B&N Launcher shortcut

Hello, I have tried searching with no luck. I currently have Zeam installed and would like to somehow make a shortcut to the stock B&N launcher, so I can switch between the two quick. I know there is home switcher, but I don't want to have to access a separate program to switch home screens. I want to get to it from the zeam home screen. Thanks in advance.
I don't think you can do that unless you use home switcher.
Sent from my LogicPD Zoom2 using XDA App
If you have SoftKeys installed, you can set different homes for the hardware N button and the SoftKeys home button. I have mine set so that the SoftKeys home button takes me to the B&N stock home, and the hardware N button takes me to Zeam.
jmen1213 said:
Hello, I have tried searching with no luck. I currently have Zeam installed and would like to somehow make a shortcut to the stock B&N launcher, so I can switch between the two quick. I know there is home switcher, but I don't want to have to access a separate program to switch home screens. I want to get to it from the zeam home screen. Thanks in advance.
Click to expand...
Click to collapse
I also use softkeys. Currently I'm set up so that a single press of the N button brings up softkeys. A short press on the softkeys home key takes me to Zeam and a long press takes me to the B&N launcher. Also, a quick double tap of the N button will take me straight to Zeam.
Like one of the other posters said, I don't think that there's an elegant way to place a shortcut on the Zeam home screen. A more "hackish" solution would be to remove the default action for your N button press. That way when you press the N button, it will prompt you to choose either B&N or Zeam.

[Q] Tapping instead of pressing Home button

Coming from S2, I know it is long overdue lol, and got used to touch-style Home button, I would love to get back to home by just tapping instead of pressing Home button. Is it even possible?
Thanks.
re: home key
doanthaitu said:
Coming from S2, I know it is long overdue lol, and got used to touch-style Home button, I would love to get back to home by just tapping instead of pressing Home button. Is it even possible?
Thanks.
Click to expand...
Click to collapse
There are two ways that it can be done.
Once we have a proper custom recovery like twrp you can use the softkey mod
which has the option of adding three softkeys menu/home/back buttons on the
bottom of your screen, they look exactly like real softkeys and are transparent.
The other way to do it would take a bit of getting used to is
the mod which can re-assign the back and menu keys to be
the home key or basically any anything else and can be
configured for long press, double tap or single tap.
Some of the high end launchers already have this feature of
re-assigning keys built-in like the "Next launcher 3D shell".
The Next launcher even has option to replace the home key
by simply swiping up or down to replicate the home button's
default/normal single tap.
With the Next Launcher, we do not even need root or custom recovery.
Good luck!
I've used Go launcher free version forever and got used to swipe down anywhere to bring down notification, I wonder if TouchWiz has this function? With the phone of this size, this function is a must.
And I miss AOSP dialer, swipe left or right to go to next tab. Touchwiz's dialer has the tabs on the top, makes it impossible to use it 1 hand.

[Q] Control Mods - Long Press, etc.

Do we have any options for additional functionality from long-press of buttons?
- Long press Vol +/- for track seek (doesn't work with Poweramp with the app settings set for long press volume for next/previous track)
- Long press <anything> for foreground app kill
I'm sure there are other functions people want.. but these are my main two..
dbornack said:
Do we have any options for additional functionality from long-press of buttons?
- Long press Vol +/- for track seek (doesn't work with Poweramp with the app settings set for long press volume for next/previous track)
- Long press <anything> for foreground app kill
I'm sure there are other functions people want.. but these are my main two..
Click to expand...
Click to collapse
Use Home2 Shortcut from the Play Store to remap all the hardware buttons - double tap and long press are supported on all the hardware and capacitive buttons as far as I can tell.
ccheww said:
Use Home2 Shortcut from the Play Store to remap all the hardware buttons - double tap and long press are supported on all the hardware and capacitive buttons as far as I can tell.
Click to expand...
Click to collapse
Only thing I can do with this app it seems is launch apps with long-press and double-tap. Not what I was looking for, but thanks anyways.
dbornack said:
Only thing I can do with this app it seems is launch apps with long-press and double-tap. Not what I was looking for, but thanks anyways.
Click to expand...
Click to collapse
If you find an app that allows me yo launch an application from a single tap of the home button (in place of launcher) please let me know.
Sent from my XT1254
ccheww said:
If you find an app that allows me yo launch an application from a single tap of the home button (in place of launcher) please let me know.
Sent from my XT1254
Click to expand...
Click to collapse
you can do this in accessibility, double tap, any application to open
livinitwarrior said:
you can do this in accessibility, double tap, any application to open
Click to expand...
Click to collapse
Turns out Nova does what I want
I needed to launch an app instead of the launcher with a single press of the home button.
I created a Tasker app that launches a certain Launcher app (Nova or launcher3) based on whatever context I choose (my work shift hours and @ home hours)
I set the home button to launch this and it works flawlessly - it's like having two separate phones
I think more people should try to do this. Imagine having a completely different home screen based on whatever context you want.. In the car, at work, certain times of the day, docked undocked.
Sent from my XT1254

Anyway to configure the hard press home button area to turn off display?

I used to have double tab nav bar to turn off display on my previous Pixel and Nexus phones (rooted of course) but don't have a nice way to configure it here.
I ended up downloading Custom Navigation Bar (app) to add two buttons to the side but they're for "menu" and "search".
If there isn't a way to configure the hard press I'll just change one of the above to do it, but I like having those two options as well on the lower part of the phone.
This is perhaps not what you want, but I'm using Nova launcher and I set it to lock the phone at a double tap. Of course, this doesn't work if you're in another app, but I go to Home anyway before I lock the phone.
pedmond said:
This is perhaps not what you want, but I'm using Nova launcher and I set it to lock the phone at a double tap. Of course, this doesn't work if you're in another app, but I go to Home anyway before I lock the phone.
Click to expand...
Click to collapse
yeah i'd like to have something that can be used from anywhere. also nova's screen lock feature hard locks the phone, requiring a pin/pattern unlock (not the face/finger print unlock). i have my bixby button remapped to do this, just for that super rare occassion when i'm someplace and need my phone locked immediately.

How to lock screen without pressing power button?

Hi!
I'm wondering if I can lock my device without pressing the power button. In my galaxy s9+, I used the "custom navigation bar" app to add an invisible power button to the navigation bar, but this app CRASHED my note9!!!!
I spent 2 hours trying to solve the issue without losing my apps and stuff, successfully. Now I want to use another way to save my power button.
I installed an app called "home launcher" to use the home long press to call another app instead of google search, but every app to lock screen causes the fingerprint sensor to stop working without password.
I miss my old Xiaomi Mi 6
Someone knows how to do this?
you can install an app called "turn off screen (lock screen)" by redmanit from the play store. it gives you the option to put an icon on the homescreen or from your notifications drop down, press it and it'll lock your phone in 5 seconds. this is the only app i know of that works with the note 9's android 8.1
Nova launcher can do it as far as I know.
Installed a 3rd party screen off app. Using the widget Extended Date which then gives you the settings to show time/date/week/day/etc. There's a function to link to any app in this case screen off. Thus touching the date switches off the screen. Been using this setup way back when I still had my Note 2. Still works (both the screen off app and the widget).
Presler said:
Hi!
I'm wondering if I can lock my device without pressing the power button. In my galaxy s9+, I used the "custom navigation bar" app to add an invisible power button to the navigation bar, but this app CRASHED my note9!!!!
I spent 2 hours trying to solve the issue without losing my apps and stuff, successfully. Now I want to use another way to save my power button.
I installed an app called "home launcher" to use the home long press to call another app instead of google search, but every app to lock screen causes the fingerprint sensor to stop working without password.
I miss my old Xiaomi Mi 6
Someone knows how to do this?
Click to expand...
Click to collapse
Settings > Accessibility > Dexterity & Interaction
Turn on the Assistant Menu. That has a lock button that will turn your screen off. It will not "lock" your phone, just turn off the screen. Screen locks @ whatever you've set as the lock out time (screen locks "x" number of seconds after pressing power button). If you want to "lock" it instantly, requiring password to open, I use Nova Launcher and a screen input gesture. That locks it instantly and requires, I think, your password - not your fingerprint.
See screenies for info.
The functionality is built right into One Hand Operation+ in the Good Lock App
pcriz said:
The functionality is built right into One Hand Operation+ in the Good Lock App
Click to expand...
Click to collapse
That's exactly what I was looking for! Thanks!!!
pcriz said:
The functionality is built right into One Hand Operation+ in the Good Lock App
Click to expand...
Click to collapse
Hi, where to get the good lock app?
my phone is exynos version
leongsem said:
Hi, where to get the good lock app?
my phone is exynos version
Click to expand...
Click to collapse
Here
you can download softkey edge that will have a lock button on your edge panel.
lazarus0000 said:
Settings > Accessibility > Dexterity & Interaction
Turn on the Assistant Menu. That has a lock button that will turn your screen off. It will not "lock" your phone, just turn off the screen. Screen locks @ whatever you've set as the lock out time (screen locks "x" number of seconds after pressing power button). If you want to "lock" it instantly, requiring password to open, I use Nova Launcher and a screen input gesture. That locks it instantly and requires, I think, your password - not your fingerprint.
See screenies for info.
Click to expand...
Click to collapse
I just tried this on my Samsung Galaxy A51. Thanks. It works. well. Of course, you have to get used to this floating panel on the screen! :good:
pcriz said:
The functionality is built right into One Hand Operation+ in the Good Lock App
Click to expand...
Click to collapse
Presler said:
That's exactly what I was looking for! Thanks!!!
Click to expand...
Click to collapse
leongsem said:
Hi, where to get the good lock app?
my phone is exynos version
Click to expand...
Click to collapse
you can use OHO+ without goodlock though, if you only need the lockscreen gesture.
OHO+ is a "standalone" app, luckily.
Screen lock button in navbar via good lock + navstar ?

Categories

Resources