[Question] Launch Google Now Voice Search from Off Screen with Gesture? - One (M8) Q&A, Help & Troubleshooting

The HTC One M8 has a really useful function (well almost really useful)...
It allows you to swipe down on the screen when it's off to launch voice actions. Unfortunately it launches HTC Sense's voice actions and not Google Now. Was hoping the feature would be in GPe but it's not.
Is this possible to create through an Xposed module or by some other means?

theadb said:
The HTC One M8 has a really useful function (well almost really useful)...
It allows you to swipe down on the screen when it's off to launch voice actions. Unfortunately it launches HTC Sense's voice actions and not Google Now. Was hoping the feature would be in GPe but it's not.
Is this possible to create through an Xposed module or by some other means?
Click to expand...
Click to collapse
I'd be interested in this feature too, only I would use it to launch autovoice recognition (works offline)
Anyway being able to do this would be great.
InsertCoin settings allows to reassign the gesture, but you still have to unlock the screen, as it is considered as launching an app...

nuts77 said:
I'd be interested in this feature too, only I would use it to launch autovoice recognition (works offline)
Anyway being able to do this would be great.
InsertCoin settings allows to reassign the gesture, but you still have to unlock the screen, as it is considered as launching an app...
Click to expand...
Click to collapse
No body has figured out this till now? =(

mr.dj26 said:
No body has figured out this till now? =(
Click to expand...
Click to collapse
Yes, as I stated you can use InsertCoin gestures remap, and Sense 6 toolbox xposed module also supports gesture reassign.
If you want to use autovoice, you have to export the Voice recognition task as an app with Tasker app factory.
To bypass the lockscreen, you can use another xposed module called "quick access" to allow autovoice to run over the lockscreen.
Hope this helps It works perfectly for me.
Next step : Autovoice from closed dotview case!

Related

[Q] Can you run macros with NFC?

Hi,
Is it possible to run macros that would launch a specific application and then perform an action, or actions, in that application that could then be launched with NFC tags.
NFC Task Launcher + Tasker?
1cewolf said:
NFC Task Launcher + Tasker?
Click to expand...
Click to collapse
I don't believe Tasker can run Macros. As far as I know there aren't any macro apps on Android (that simulate clicks withing an app). I looked some time back when someone asked me over email and didn't find anything.
krohnjw said:
As far as I know there aren't any macro apps on Android (that simulate clicks withing an app). I looked some time back when someone asked me over email and didn't find anything.
Click to expand...
Click to collapse
Yeah, that's what I've found too. Not much. Perhaps there is no way to do it.
Thanks.
On the Xperia NXT Series there ist a programm called Smarttags preinstalled, it its programmable and it launches apps or sets your phone to silent or disables Wifi when you hold it at an Xperia Smarttag, the app ist downloadable at the playstore maybe it fits your Question
Psierra117 said:
On the Xperia NXT Series there ist a programm called Smarttags preinstalled, it its programmable and it launches apps or sets your phone to silent or disables Wifi when you hold it at an Xperia Smarttag, the app ist downloadable at the playstore maybe it fits your Question
Click to expand...
Click to collapse
No, he asking about macros. As in open app X, click here, click there, enter this text here etc.
krohnjw said:
No, he asking about macros. As in open app X, click here, click there, enter this text here etc.
Click to expand...
Click to collapse
Yes, exactly.
Thanks.
It is sometimes possible to do that with Tasker via the DPAD function. For example, I have an app open, then DPAD down (3 times), then DPAD Press, then DPAD down 2 times, then DPAD press.
this opens the app, scrolls down to the button I want pressed, presses it, which takes app to next screen, then scrolls down then presses again to start it.
Must be rooted to use the DPAD button. My understanding is it works whether your phone actually has a DPAD or not. However, the function of a DPAD action within any app depends on how the developer of that app set it up, so it may or may not work with your specified app, but you can try...
hollywoodfrodo said:
DPAD function
Click to expand...
Click to collapse
Thanks! Is the DPAD Function something that is built into Tasker?
Yep - under task it's in the "Input" category.
Thanks! I'll have to mess with that.
Apologies if this is way of track..
http://www.macrodroid.com/
https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid
Does this app help?
Ofiaich
I think it's similar to Tasker. It will trigger apps but not actions within them.
But thanks.
Sent from my EVO using xda app-developers app
what macros?
Generally a macro is a keystroke, or in our case an NFC tag, that is set up to replace a series of actions like repetitive keystrokes or actions. For example lets say that you are going a report and there are certain words that you use all the time. A macro would be a keystroke to replace having to type out that word over and over again
llpavell said:
what macros?
Click to expand...
Click to collapse
Sent from my SGH-T989 using xda app-developers app
The more I hear about Tasker the more intrigued I am by it.
Sent from my SCH-I535 using xda app-developers app
Throckmorton said:
Hi,
Is it possible to run macros that would launch a specific application and then perform an action, or actions, in that application that could then be launched with NFC tags.
Click to expand...
Click to collapse
Have you made any progress on learning how to do this or if its possible yet?
In my case, I need my NFC tag to open up google voice and set it to use voice on all calls. The best I can do is get it to just open up the settings where I have to do 2 more screen taps to change it.
blackhemi4x4 said:
Have you made any progress on learning how to do this or if its possible yet?
In my case, I need my NFC tag to open up google voice and set it to use voice on all calls. The best I can do is get it to just open up the settings where I have to do 2 more screen taps to change it.
Click to expand...
Click to collapse
No, I haven't. I've abandoned the idea.
Sorry.
blackhemi4x4 said:
Have you made any progress on learning how to do this or if its possible yet?
In my case, I need my NFC tag to open up google voice and set it to use voice on all calls. The best I can do is get it to just open up the settings where I have to do 2 more screen taps to change it.
Click to expand...
Click to collapse
You could possibly do it using activities. This is gonna sound like a "long cut" but it might work and would be a short cut once you get it all set up.
First install Nova Launcher (you're not gonna use it as your launcher, but it allows access to activities within apps). Now long press anywhere on your screen to add app/shortcut. Choose shorcut. Then choose "activities" which is by the Nova Launcher icon.
Now you'll have a list of apps which if you press the app will then show the apps' available activities. Google Voice has 5 possible activities - this is where you'll have to do some testing by adding those one at a time to your homescreen, then pressing it to see what that activity does/doesn't do and see if one of them accomplishes what you want. I can see on my phone that one activity is "CycleCallRoutingModeActivity" - that might be a good one to test first.
If you don't find an activity that when launched from your homescreen does what you want, then I got nothing else for ya...sorry. However, if that one activity or one of the others does do what you want then you can use Tasker & the tasker plugin in app AutoShortcut and any NFC App that can launch a tasker task to launch that activity.
Basically, you'd set up a task in Tasker, add your first task and choose "plugin" then "AutoShortcut". Then you click "Edit" and it opens up all the same shortcuts as when you were adding one to your homescreen so you can go into "activities" and choose the appropriate activty under Google Voice.
Then you use your NFC App to write a tag that launches that task in tasker. I use Tasker URL Launcher which lets you launch a tasker task by coding a special url to a tag, but you can also do tasker task directly from NFC Task Launcher, AVX, or a couple of other apps.
Hope that helps!

Swipe Down for Voice Dialing

Geez, I feel like I've been all over the Q&A asking questions this week.
So, I have an unlocked M8 with Viper One on it. All of my other unlock gestuers work (Swipe Left for BlinkFeed, Right for Home screen, Up to unlock), but when I swipe down from a locked screen, it simply unlocks the screen instead of going to voice dialing.
This is an issue because I use a Dot View case, so when I attempt to swipe down to voice dial someone from my [awesome] case, I am simply greeted with the time and current weather.
I look through my system apps via FX, and found nothing called Speak, which, if I remember right, is the name of HTC's voice recognition software.
ryno9100 said:
Geez, I feel like I've been all over the Q&A asking questions this week.
So, I have an unlocked M8 with Viper One on it. All of my other unlock gestuers work (Swipe Left for BlinkFeed, Right for Home screen, Up to unlock), but when I swipe down from a locked screen, it simply unlocks the screen instead of going to voice dialing.
This is an issue because I use a Dot View case, so when I attempt to swipe down to voice dial someone from my [awesome] case, I am simply greeted with the time and current weather.
I look through my system apps via FX, and found nothing called Speak, which, if I remember right, is the name of HTC's voice recognition software.
Click to expand...
Click to collapse
viper devs know about this and said should be fixed by next update
jaythenut said:
viper devs know about this and said should be fixed by next update
Click to expand...
Click to collapse
Awesome! I downloaded and flashed the ViperOne HTC Speak. Still no luck. :/ did they say that was supposed to be the fix? Or will it be in the next full blown update?
jaythenut said:
viper devs know about this and said should be fixed by next update
Click to expand...
Click to collapse
Are these gestures customizable at all? I have Viper installed but I am just curious if I can replace swiping down with something else.
Brava27 said:
Are these gestures customizable at all? I have Viper installed but I am just curious if I can replace swiping down with something else.
Click to expand...
Click to collapse
I thought they would be in a ROM like Viper, but I couldn't find the option.

FingerPrint issue while using Lock Screen app

Hi there,
I'm using a Lock Screen app for ages now.
it's an app that turns off the screen without having to press the physical power button.
This one, for example: https://play.google.com/store/apps/details?id=wq.lockscreen
The issue started since installing the lock screen app and now I can't unlock the phone using my finger print, but only using the pattern. I tried several apps now and none of them worked for me. Only when I uninstall the app the finger print function works flawlessly..
Does anyone here came across this king of issue and found a solution ?
Thanks, guys !
PelegK said:
Hi there,
I'm using a Lock Screen app for ages now.
it's an app that turns off the screen without having to press the physical power button.
This one, for example: https://play.google.com/store/apps/details?id=wq.lockscreen
The issue started since installing the lock screen app and now I can't unlock the phone using my finger print, but only using the pattern. I tried several apps now and none of them worked for me. Only when I uninstall the app the finger print function works flawlessly..
Does anyone here came across this king of issue and found a solution ?
Thanks, guys !
Click to expand...
Click to collapse
This one works. Its not free but the only one I have found so far.
https://play.google.com/store/apps/details?id=com.iglint.android.screenlockpro
thekenster said:
This one works. Its not free but the only one I have found so far.
https://play.google.com/store/apps/details?id=com.iglint.android.screenlockpro
Click to expand...
Click to collapse
It's working for you with no any issues ?
PelegK said:
It's working for you with no any issues ?
Click to expand...
Click to collapse
There is a setting for "Smart lock and Nexus imprint" Says Experimental. Works every time for me.
It's a mm issue, not your hardware or software.
The confirmed workaround is use root and nova prime gesture to lock ie double tap/swipe down or up etc. Nova launcher prime is on a sale now too, double goodness
queerquirks said:
It's a mm issue, not your hardware or software.
The confirmed workaround is use root and nova prime gesture to lock ie double tap/swipe down or up etc. Nova launcher prime is on a sale now too, double goodness
Click to expand...
Click to collapse
I'm using Nova for along time now, i know there's an option to add a gesture in order to lock the screen, but it doesn't work like any other app i've tried. I don't have root yet on my device, but Nova hasn't asked me for root either.
PelegK said:
I'm using Nova for along time now, i know there's an option to add a gesture in order to lock the screen, but it doesn't work like any other app i've tried. I don't have root yet on my device, but Nova hasn't asked me for root either.
Click to expand...
Click to collapse
I'm not sure how it works without root. Give it a try though. It works the same as other lock apps except you're using nova gestures in the home screen.
That's the problem here, all other lock apps can't make it work.
Iv'e tried with Nova now, same issue :\
PelegK said:
That's the problem here, all other lock apps can't make it work.
Iv'e tried with Nova now, same issue :\
Click to expand...
Click to collapse
Any app that offers a real screen off without lock function (which wouldn't interfere with Imprint) needs root to do so.
Nearly all of the apps that provide a screen off function without root use the same API method which by design or oversight on the part of Google overrides both Nexus Imprint unlocking and Smart Lock settings on 5.x devices.
There is a Google Issue tracker thread here - star if this design decision/oversight irritates you - https://code.google.com/p/android/issues/detail?id=191955
https://play.google.com/store/apps/details?id=com.iglint.android.screenlockpro has a working method but it is really just smoke and mirrors, not a true screen off action.
All it does is temporarily reduce the screen timeout to a minimum value (10 seconds) and sets a black screen overlay until the screen has naturally turned off. It works fine unless you invoke the shortcut and decide within 10 seconds that actually you wanted your screen on.
Nova can't do it with it's standard method either.
View attachment 3573496
If you already use an automation app like Tasker or MacroDroid along with Secure Settings (I prefer MacroDroid) it's pretty easy to emulate the https://play.google.com/store/apps/details?id=com.iglint.android.screenlockpro workaround and add some extra functionality to cancel the delayed real screen off if you decide you want to interact with the device in the few seconds after activating
Basically the steps are:
Use Secure Settings to set screen timeout to 1 millisecond (this actually results in a 7 second screen time out)
Set brightness to minimum
Set a 100% screen dim
Set Immersive Mode (MacroDroid doesn't support this natively dunno about Tasker - but there are apps that support this via intent so doable).
Reverse the above when the Screen off system broadcast is received and on whatever trigger event you like - I've got a proximity sensor wave to wake set up anyway via MacroDroid so just use that.

[Found] App/mod to swipe left/right to switch apps.

I FOUND A WAY!
Okay, so for this you need:
Magisk
Xposed for Magisk (possibly also works with normal Xposed)
UnrestrictedGetTasks module found in Xposed Installer
The Apk at the bottom of the first post (Credits to in.abhi9) installed in /system/priv-app (just pop it in any magisk module you have installed in the same folders, so ./system/priv-app/theapk.apk).
a fingerprint gestures app like this that can launch Tasker tasks.
Tasker: In Tasker you need to create two tasks each containing the "run shell" action (they need root). In the first you put "am start in.abhi9.apphistory/in.abhi9.recentswipo.SwipeLeftActivity" and in the second "am start in.abhi9.apphistory/in.abhi9.recentswipo.SwipeRightActivity"
finally link left- and right swipes from the Fingerprint Gestures app to the correct tasker tasks and Bob's your uncle.
enjoy superior app switching!
Of course you can map any trigger to the tasks you created, they don't have to be fingerprint swipes. I suppose screen swipe gestures can come in handy too!
Original post:
The latest Lenovo Zuk phones have an amazing feature (named U-touch) that let's users swipe their fingerprint scanner to switch apps. This is not just the switch-to-last-app feature we had since Nougat, but it remembers the app-order. Here are two video's to demonstrate what I mean:
https://www.youtube.com/watch?v=wS-LSoraPZg
https://www.youtube.com/watch?v=3sYf4H8yMHw
It seems like the fastest way ever to switch between open apps and as I like to multitask a lot (between more than 2 apps) I'm looking for an app, mod, module, Tasker profile, whatever, to make this happen. It doesn't really matter if it uses the fingerprint scanner (using the Oreo fingerprint gestures api) or if we have to swipe over our navigation bar. Does such a thing exist at all?
Click to expand...
Click to collapse
After some searching I found this thread https://forum.xda-developers.com/lenovo-zuk-z2/themes/app-stock-zui-style-swipe-behaviour-t3620653/. This app enables the swipe behaviour on custom lenovo roms that don't have it yet, however it doesn't work on (aosp) oreo yet. Does anyone have any experience in creating a list of the apps that are currently opened in foreground on oreo? (he has a github for the app)
I moved it back to the apps & mods section as I now found a way to do it.
https://forum.xda-developers.com/pixel-2-xl/themes/tutorial-swipe-fingerprint-sensor-to-t3742164 @mods, you may close this one

Kill App option for Nav bar?

I have seen a few discussions about the topic of getting the Kill App option for the Nav bar. Holding the back button would be the ideal implementation for me. I find it much quicker than going to recent apps and flicking away the app that I want to kill.
I have not found an answer on how I might do this on the Pixel 3. Seems like Oreo had a Developer Option that was removed in Pie.
A Gesture app seems like one approach, but I would like to hear from others on how you do it?
Thoughts?
swieder711 said:
I have seen a few discussions about the topic of getting the Kill App option for the Nav bar. Holding the back button would be the ideal implementation for me. I find it much quicker than going to recent apps and flicking away the app that I want to kill.
I have not found an answer on how I might do this on the Pixel 3. Seems like Oreo had a Developer Option that was removed in Pie.
A Gesture app seems like one approach, but I would like to hear from others on how you do it?
Thoughts?
Click to expand...
Click to collapse
Hey, do you mean that you want to kill all recents by long pressing the back button?
If so, I had a quick look and basically a third party app can't really do that because in java the REMOVE_TASKS option is a signature-level permission. This means the app needs to be signed by the same signing key as the device firmware. In short, a rom developer could implement this, but not a third party developer.
In short, maybe a request to your rom dev is the way to go!
StrangerWeather said:
Hey, do you mean that you want to kill all recents by long pressing the back button?
If so, I had a quick look and basically a third party app can't really do that because in java the REMOVE_TASKS option is a signature-level permission. This means the app needs to be signed by the same signing key as the device firmware. In short, a rom developer could implement this, but not a third party developer.
In short, maybe a request to your rom dev is the way to go!
Click to expand...
Click to collapse
If you're rooted you can setup Active Edge to kill the foreground app (I have it setup for a long squeeze to kill the app) or use One Plus Gestures and enable kill foreground app for one of the gestures.
StrangerWeather said:
Hey, do you mean that you want to kill all recents by long pressing the back button?
If so, I had a quick look and basically a third party app can't really do that because in java the REMOVE_TASKS option is a signature-level permission. This means the app needs to be signed by the same signing key as the device firmware. In short, a rom developer could implement this, but not a third party developer.
In short, maybe a request to your rom dev is the way to go!
Click to expand...
Click to collapse
I just want holding the BACK button to kill the current app on the Screen.
It is a setting that GravityBox allows and comes in handy to quickly exit an active application. I hope we see this feature on the Pixel 3 XL custom ROM that will be coming out.
airmaxx23 said:
If you're rooted you can setup Active Edge to kill the foreground app (I have it setup for a long squeeze to kill the app) or use One Plus Gestures and enable kill foreground app for one of the gestures.
Click to expand...
Click to collapse
Are you using Edge Sense Plus to set this up? Sounds like a good approach.
swieder711 said:
Are you using Edge Sense Plus to set this up? Sounds like a good approach.
Click to expand...
Click to collapse
Yes I am and it works great.
airmaxx23 said:
Yes I am and it works great.
Click to expand...
Click to collapse
Awesome. Are you using the Tulsa mods too? When I install the SystemUIedgebase.zip for the Tulsa mods, I lost all my other mods (center clock small ampm, small LTE, no GPS pin and 3Minit).
I would love to get the EdgeSense and the Status bar mods working at the same time. I have a similar question posted on the Tulsa Mod thread.
EDIT: I had to install the Magisk Mod for Edge Sense and now they both work! I dont see the Kill App as an Action in the Edge Sense app. Is it called something else?
EDIT2: I had to enable ROOT for the EdgeSense app, now I see Kill App. YEAH!
swieder711 said:
I have seen a few discussions about the topic of getting the Kill App option for the Nav bar. Holding the back button would be the ideal implementation for me. I find it much quicker than going to recent apps and flicking away the app that I want to kill.
I have not found an answer on how I might do this on the Pixel 3. Seems like Oreo had a Developer Option that was removed in Pie.
A Gesture app seems like one approach, but I would like to hear from others on how you do it?
Thoughts?
Click to expand...
Click to collapse
Another suggestion - All In One Gestures! It has a long-press back to kill app option, though I should note I'm using it having both rooted and reverted to the old, 3 button nav bar as per Mishaal's guide. Plus, doesn't work quite as perfectly as it did on my old galaxy phones with capacitive keys, but it does the job most of the time...
Painless001 said:
Another suggestion - All In One Gestures! It has a long-press back to kill app option, though I should note I'm using it having both rooted and reverted to the old, 3 button nav bar as per Mishaal's guide. Plus, doesn't work quite as perfectly as it did on my old galaxy phones with capacitive keys, but it does the job most of the time...
Click to expand...
Click to collapse
On pixel 3 xl, you can get the old 3 button navigation with a long press of the back button giving you the kill app command? I want that!
I thought the ALL IN ONE gestures app only gave you a longer pill button. I didn't see the kill app as an option in the app description. Im rooted and really want that feature back.
Here is a list of the actions that I see listed
Actions
Free
Home
Back
Recent apps
Toggle split-screen (requires Android Nougat+)
Open previous app (requires Android Nougat+)
Open Assistant
Hide pill
Premium
Pull down the notification shade
Pull down quick setting tiles
Open power menu
Skip to previous media track*
Skip to next media track*
Play/pause current media track*
Switch keyboard dialog
Launch app**
Lock screen***
Screenshot****
Can you post a screen shot of your home screen?
swieder711 said:
On pixel 3 xl, you can get the old 3 button navigation with a long press of the back button giving you the kill app command? I want that!
I thought the ALL IN ONE gestures app only gave you a longer pill button. I didn't see the kill app as an option in the app description. Im rooted and really want that feature back.
Here is a list of the actions that I see listed
Actions
Free
Home
Back
Recent apps
Toggle split-screen (requires Android Nougat+)
Open previous app (requires Android Nougat+)
Open Assistant
Hide pill
Premium
Pull down the notification shade
Pull down quick setting tiles
Open power menu
Skip to previous media track*
Skip to next media track*
Play/pause current media track*
Switch keyboard dialog
Launch app**
Lock screen***
Screenshot****
Can you post a screen shot of your home screen?
Click to expand...
Click to collapse
I'm not sure what All-In-One does when you've still got the gesture navigation pill installed, but these are the settings I've got enabled having reverted to the 3 button navigation (https://www.xda-developers.com/disable-android-pie-gestures-google-pixel-3/):
You of course have to give the app root access, but otherwise no special settings as far as I recall from setting it up. Hope this helps!
Painless001 said:
I'm not sure what All-In-One does when you've still got the gesture navigation pill installed, but these are the settings I've got enabled having reverted to the 3 button navigation (https://www.xda-developers.com/disable-android-pie-gestures-google-pixel-3/):
You of course have to give the app root access, but otherwise no special settings as far as I recall from setting it up. Hope this helps!
Click to expand...
Click to collapse
That is great info. I will follow the guide once I update to the December release.
Thanks!
Is "All in One Gestures" the same as "XDA Navigation Gestures" When I search the play store for all in one than the XDA Apo comes up.
Edit: I see that they are different apps. I found All in One on the apk mirror site. Any idea what it is no longer in the play store?
swieder711 said:
Is "All in One Gestures" the same as "XDA Navigation Gestures" When I search the play store for all in one than the XDA Apo comes up.
Edit: I see that they are different apps. I found All in One on the apk mirror site. Any idea what it is no longer in the play store?
Click to expand...
Click to collapse
My pleasure! It is a different app. I'm coming to the Pixel from a 3.5 year old Galaxy S6(!), and I just restored the app from a titanium backup. I think it was designed for phones with capacitive buttons, which might explain why it's no longer officially available. For this reason, it doesn't work quite as perfectly on the Pixel as it did on the S6 (the kill app function doesn't seem to click with a few apps). But it does do the trick in most cases. For me, I'm so used to the long-press gesture that it was worth going back to 3 button navigation for this alone, and worth sticking with it despite some imperfections in All-In-One when it comes to the Pixel. I suppose if you're still on the gesture system, you'll have to weigh up whether its worth removing the pretty new interface (and the Pixel launcher along the way, as Mishaal explains) for a functional yet slightly deficient alternative...
Here is another explanation
https://www.google.com/amp/s/amp.re.../what_happened_to_the_all_in_one_gesture_app/
I upgraded to the December release and than followed the guide to bring back the old 3 button set up. Long press of the back button kills the current app! I even added the menu key to the left side of the screen My new Pixel 3 XL looks like my old Moto X Pure.
Thanks for the tip.
EDIT: Check out my retro Nav bar.
swieder711 said:
I upgraded to the December release and than followed the guide to bring back the old 3 button set up. Long press of the back button kills the current app! I even added the menu key to the left side of the screen My new Pixel 3 XL looks like my old Moto X Pure.
Thanks for the tip.
EDIT: Check out my retro Nav bar.
Click to expand...
Click to collapse
So glad it worked for you! Now my turn for the Dec update...
swieder711 said:
I upgraded to the December release and than followed the guide to bring back the old 3 button set up. Long press of the back button kills the current app! I even added the menu key to the left side of the screen My new Pixel 3 XL looks like my old Moto X Pure.
Thanks for the tip.
EDIT: Check out my retro Nav bar.
Click to expand...
Click to collapse
What did you do to get this? I don't quite understand.

Categories

Resources