Tasker - How to Force Stop Google Play Services? - Tasker Tips & Tricks

Guys,
Can anyone please help me. I want to use Tasker to do the following.
1. On connection to WiFi
2. Open Google Play Services
3. Force Stop
4. Return to homescreen
Its a long story about why I want to do this so wont go into it. But there is a reason.
Can anyone please help?
Thanks

EDIT:
Sorry, haven't read the reason part >.<

I absolutely want it to restart itself! Like I say there is a reason I want/need to do this. Currently I am manually doing this every time the head unit connects to the wifi hotspot. I just want to automate it.
Thank you

clinto69 said:
I absolutely want it to restart itself! Like I say there is a reason I want/need to do this. Currently I am manually doing this every time the head unit connects to the wifi hotspot. I just want to automate it.
Thank you
Click to expand...
Click to collapse
Use the AutoInput plugin or use a run shell with the command "input tap 270 230". The 270 230 are the x,y coordinates of the tap location.
You'll just have to "tap" your way to what you want.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Related

Disable bluetooth MAP?

My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
triton302 said:
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
Click to expand...
Click to collapse
You can probably unpair (from both the phone and sync) and then repair and when you repair just deny the MAP access request.
Also, you should be able to turn off new message download in Sync
triton302 said:
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
Click to expand...
Click to collapse
Did you ever find a solution for this? I just got a '14 Raptor and it does the same damned thing. I've deleted the phone pairing and repaired and deny access when repairing but it still automatically connects to all 3 protocols when I get in the truck. My phone is actually an LG G3 but it seems to be an android problem and not a specific phone problem.
boosting1bar said:
Did you ever find a solution for this? I just got a '14 Raptor and it does the same damned thing. I've deleted the phone pairing and repaired and deny access when repairing but it still automatically connects to all 3 protocols when I get in the truck. My phone is actually an LG G3 but it seems to be an android problem and not a specific phone problem.
Click to expand...
Click to collapse
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
triton302 said:
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
Click to expand...
Click to collapse
Yeah that's exactly what I'm getting in my 14 Raptor. Terrible, I guess I have to disable it every time I get in the car now.
triton302 said:
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
Click to expand...
Click to collapse
Do you guys have root? if so maybe you can try something. but keep in mind I have not tried this myself and also I could be completely wrong.
Anyway, I noticed in my moto x build.prop file (that sets the phone settings on boot) that one of the lines seems to disable Bluetooth SAP on boot. The line is
ro.qualcomm.bluetooth.sap = false
if that can turn off SAP maybe
ro.qualcomm.bluetooth.map = false
can turn off MAP on boot.
Keep in mind editing build.prop the wrong way can give you boot up problems. Backup the file, and also keep track of and set the appropriate permissions for the file.
In fact, it's probably better before editing build.prop to try the setting on the fly. In a terminal emulator with SU enabled try the line
setprop ro.qualcomm.bluetooth.map false
then check that with getprop and with your car.
this is safer if you have any problems you can just reboot. if it works you can proceed to build.prop
dtg7 said:
Do you guys have root? if so maybe you can try something. but keep in mind I have not tried this myself and also I could be completely wrong.
Anyway, I noticed in my moto x build.prop file (that sets the phone settings on boot) that one of the lines seems to disable Bluetooth SAP on boot. The line is
ro.qualcomm.bluetooth.sap = false
if that can turn off SAP maybe
ro.qualcomm.bluetooth.map = false
can turn off MAP on boot.
Keep in mind editing build.prop the wrong way can give you boot up problems. Backup the file, and also keep track of and set the appropriate permissions for the file.
In fact, it's probably better before editing build.prop to try the setting on the fly. In a terminal emulator with SU enabled try the line
setprop ro.qualcomm.bluetooth.map false
then check that with getprop and with your car.
this is safer if you have any problems you can just reboot. if it works you can proceed to build.prop
Click to expand...
Click to collapse
Great idea, however I just tried it with no avail.
I just thought of something as well... my fiance has a '13 Focus SE with the base stereo, and she has the same model phone as me (VZW X Dev). Her SYNC doesn't alert her to new messages, but my truck with the same SYNC setup did, but I figured my truck had a more recent version of SYNC. I dunno, all I know is it's annoying as hell and I'd like to find a more permanent solution. Especially since I'm contemplating on buying the Droid Turbo in the future and I'm sure it will do the same thing.
triton302 said:
Great idea, however I just tried it with no avail.
Click to expand...
Click to collapse
That sucks... Just to clarify I assume you tried this with a terminal emulator. did you remember to give it root before running the setprop command? i.e. type su and enter. without root setprop will appear to go through but won't actually set anything. And if it's set properly, getprop ro.qualcomm.bluetooth.map should return false like it does for SAP. otherwise it will return empty.
Another thing that might or might not make a difference, was Bluetooth on when you tried this, if so try it with Bluetooth off.
As for the difference between the two SYNCs my guess is you're right the version difference could be affecting something. A quick Google search suggests some versions of SYNC have a setting for MAP. in SYNC menu check System Settings -> Advanced -> MAP Profile
dtg7 said:
That sucks... Just to clarify I assume you tried this with a terminal emulator. did you remember to give it root before running the setprop command? i.e. type su and enter. without root setprop will appear to go through but won't actually set anything. And if it's set properly, getprop ro.qualcomm.bluetooth.map should return false like it does for SAP. otherwise it will return empty.
Another thing that might or might not make a difference, was Bluetooth on when you tried this, if so try it with Bluetooth off.
As for the difference between the two SYNCs my guess is you're right the version difference could be affecting something. A quick Google search suggests some versions of SYNC have a setting for MAP. in SYNC menu check System Settings -> Advanced -> MAP Profile
Click to expand...
Click to collapse
The newer SYNC version doesn't have that MAP option, that was the first thing I found when googling as well. (and for the record I don't have a moto, I'm using an LG G3 and found this thread while searching for a solution). Unfortunately my build.prop doesn't have those lines in it. Not sure if I could just add the MAP entry or not, that's above my knowledge base
boosting1bar said:
The newer SYNC version doesn't have that MAP option, that was the first thing I found when googling as well. (and for the record I don't have a moto, I'm using an LG G3 and found this thread while searching for a solution). Unfortunately my build.prop doesn't have those lines in it. Not sure if I could just add the MAP entry or not, that's above my knowledge base
Click to expand...
Click to collapse
well without putting in commands manually I see two things you guys can try. the first doesn't need root while the second one does.
1) turn on Bluetooth on your phones, then go to Settings -> Apps -> Running -> Bluetooth Share then just Stop the Map service. This method will stick as long as you don't turn off Bluetooth and start it again, and as long as you don't restart the phone. if you do either you'll have to do the stopping again.
2) this requires that your phone be rooted, but on the plus side it might be more permanent. There's a nifty app in the play store made by some benevolent developer that claims to disable any service started by any app. appropriately enough the app is called Disable Service. You open the app, slide over to the System Apps section, find Bluetooth Share and click it, then just uncheck the Maps service box. So simple, but won't work without root. Try it with Bluetooth off and if that doesn't work reset it then try it with Bluetooth on. But word of caution you don't want to go messing around disabling other things unless you're sure of what you're doing. disabling the wrong thing will cause you problems.
https://play.google.com/store/apps/details?id=cn.wq.disableservice
good luck.
dtg7 said:
well without putting in commands manually I see two things you guys can try. the first doesn't need root while the second one does.
1) turn on Bluetooth on your phones, then go to Settings -> Apps -> Running -> Bluetooth Share then just Stop the Map service. This method will stick as long as you don't turn off Bluetooth and start it again, and as long as you don't restart the phone. if you do either you'll have to do the stopping again.
2) this requires that your phone be rooted, but on the plus side it might be more permanent. There's a nifty app in the play store made by some benevolent developer that claims to disable any service started by any app. appropriately enough the app is called Disable Service. You open the app, slide over to the System Apps section, find Bluetooth Share and click it, then just uncheck the Maps service box. So simple, but won't work without root. Try it with Bluetooth off and if that doesn't work reset it then try it with Bluetooth on. But word of caution you don't want to go messing around disabling other things unless you're sure of what you're doing. disabling the wrong thing will cause you problems.
good luck.
Click to expand...
Click to collapse
Thanks so much! Option 2 is exactly what I've been looking for! Option 1 doesn't work for me because I use Trigger and have conditional BT on/off and that would just recreate the same problem lol.
Just tried option 2... If any of those services are unchecked, Bluetooth itself turns off automatically and won't turn back on until that service is restored.
triton302 said:
Just tried option 2... If any of those services are unchecked, Bluetooth itself turns off automatically and won't turn back on until that service is restored.
Click to expand...
Click to collapse
Yep same here, tried it on my way home yesterday and the disable service app completely disables bluetooth if you disable MAP.
boosting1bar said:
Yep same here, tried it on my way home yesterday and the disable service app completely disables bluetooth if you disable MAP.
Click to expand...
Click to collapse
Wow no breaks...but not quite out of ideas yet. a few more to spitball, going from simple to more complex:
a) we've established there's no option to disable MAP from within SYNC under System Settings. What about under Phone Settings? Indications are there should be an option there to turn off Message Notification. If it's there set it to OFF. frankly I'd expect there to be such a setting somewhere in there.
b) reaching a bit here, but in Disable Service app I notice there's another system app that has Bluetooth service settings. the app's name is org.codeaurora.bluetooth (Apparently Code Aurora is the Qualcomm Linux kernel). No idea if this will work where the other failed but won't hurt to try. the service says BluetoothMasService but if you check the full name it is map (maybe service instead of profile).
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
that's it. personally I still prefer my original idea of figuring out how to do it manually thru setprop and build.prop, but if that's not an option then try these.
Roger, I'm off work today so I'll try these out here shortly.
EDIT: From what I recall, if you have a recent version of MFT, there are no options whatsoever for MAP, in phone or system settings. I'll double check.
EDITING EDIT: #2 doesn't work.
dtg7 said:
Wow no breaks...but not quite out of ideas yet. a few more to spitball, going from simple to more complex:
a) we've established there's no option to disable MAP from within SYNC under System Settings. What about under Phone Settings? Indications are there should be an option there to turn off Message Notification. If it's there set it to OFF. frankly I'd expect there to be such a setting somewhere in there.
b) reaching a bit here, but in Disable Service app I notice there's another system app that has Bluetooth service settings. the app's name is org.codeaurora.bluetooth (Apparently Code Aurora is the Qualcomm Linux kernel). No idea if this will work where the other failed but won't hurt to try. the service says BluetoothMasService but if you check the full name it is map (maybe service instead of protocol).
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
that's it. personally I still prefer my original idea of figuring out how to do it manually thru setprop and build.prop, but if that's not an option then try these.
Click to expand...
Click to collapse
I think we have a winner! #3 works perfectly.
I tested it with the phone unlocked and locked, rebooting the phone, toggling bluetooth on and off, turning the car on and off... seems to work every time. As long as you turn off just the SMS/MMS options, you can still have it send and receive calls and allow the device to remain unlocked while connected.
Ahhhh...... Success feels good...
Xposed is pretty amazing... It gives us a fighting chance lol.
if only they'd installed Xposed on Skynet things might have turned out differently...
dtg7 said:
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
Click to expand...
Click to collapse
Awesome, worked here as well!! I'd looked through xposed and didn't see any modules that would do what we were after, completely forgot about AppOps. Outstanding work and thanks so much for the help!
You're welcome!
boosting1bar said:
Awesome, worked here as well!! I'd looked through xposed and didn't see any modules that would do what we were after, completely forgot about AppOps. Outstanding work and thanks so much for the help!
Click to expand...
Click to collapse
How did you get this yo work? I am on a cm12 Rom also with the same issue.
Did all the above, but anytime I start the Bluetooth afterwards, it just reactivates the "Read / Write sms messages permission all over again nd im back to square 1.
Sorry to bump an old thread. But its still yhe same issue I am dealing with.

[Q] OK pebble now!

I'm not an experienced programmer. Or in that way inclined but would I'd like to develop or would want helping. An app that would activate the google now voice search from a pebble application.
1. Activate pebble and access the OK pebble now app.
2. Would activate the google now voice search on your phone.
2.5 speak your request through your headset (if wearing a headset) (hands free).
3. Speak your request through the microphone through your phone.
4. Does the request in your pocket. Shows task complete on the pebble.
5. Show message sent to recipient.
Thanks in advance. if an experienced pebble developer decided to take on the project. i'm willing to pay them £10 through paypal once the job is finished. all i want to see is the project complete.
Vibrate on task complete.
I tried my hand at the application and couldn't do it.
UI is very simplistic.
I've just found an application that has functionality like what I'm asking for. Its called tasker and it works in conjunction with pebble tasker. So commands and apps can be open from the watch and to be opened up on the phone itself without even touching your phone. But its so long winded.
There's so many more options that you can do with the tasker/pebbletasker but I just want a google now voice search launcher.
No with the pebble receiving an update that allows you to have shortcuts to the apps that you assign them buttons too. This is a perfect opportunity to have a google now voice search launcher or a siri launcher so it covers both platforms.
Don't forget, I am willing to pay someone that will develop this idea. I will be creating images that I would like the UI to be.
Sent from my LG-D802 using XDA Free mobile app
Update With Proposed UI design
Here's pictures that i've designed that i would like for some to develop this app.
as you can see it's very minimalistic and it's very simple.
Somebody make me an offer and i will pay them to develop this app, it will be benefical for those working at an office and those working in retail that would like to reply back to family/friends whilst working.
$12 USD really isn't worth the time for any real development. We need people interested in this and create a bounty.
Kickstarter URL
https://www.kickstarter.com/projects/417577635/ok-pebble-now?
Here's the link for the kick starter project, I've set up for this particular application.
https://www.kickstarter.com/projects/417577635/ok-pebble-now?
Did you ever get any traction on this? I just got my first pebble and this is the first thing I went looking for. I downloaded tasker and bought pebble tasker but I seem to lack the patience to figure out how to make that work. I agree that a shortcut would be perfect so I could operate google now in my pocket. All I use it for is to set reminders and save voice to text notes in evernote but it's a pain in the rear to get myphone out every time. I tried an app that listens for okgoogle even while the screen is off, but it triggered intermittently for no reason and other times would refuse to work at all. This would be the ideal solution. Count me in for $20.
kfreels said:
Did you ever get any traction on this? I just got my first pebble and this is the first thing I went looking for. I downloaded tasker and bought pebble tasker but I seem to lack the patience to figure out how to make that work. I agree that a shortcut would be perfect so I could operate google now in my pocket. All I use it for is to set reminders and save voice to text notes in evernote but it's a pain in the rear to get myphone out every time. I tried an app that listens for okgoogle even while the screen is off, but it triggered intermittently for no reason and other times would refuse to work at all. This would be the ideal solution. Count me in for $20.
Click to expand...
Click to collapse
Sadly i didn't get anywhere with this application. I would have easily loved something like this and like yourself i couldn't be bothered to go through the tasker app and setting it up. Just a install an install and go app i wanted.
If you know any developers out there that are willing to give this a shot.
When you say 'Count me in for $20', do you mean you are a developer that will be willing to develop this application?
techguy276 said:
Sadly i didn't get anywhere with this application. I would have easily loved something like this and like yourself i couldn't be bothered to go through the tasker app and setting it up. Just a install an install and go app i wanted.
If you know any developers out there that are willing to give this a shot.
When you say 'Count me in for $20', do you mean you are a developer that will be willing to develop this application?
Click to expand...
Click to collapse
Sadly, no. I can't develop anything but film. But I'll put $20 in for the developer who puts it together.
There is someone who created a nice dashboard app that lets me find my phone if lost, control wifi, lock the screen, and a number of other things. I think I'll email that developer and see if they can just add that. I really want this and I want it to work. And with the new Pebble coming out soon I think I'll be picking one of those up as well so I'm committed to the platform. This is the one thing I feel I'm missing.
Not really what you are after, but I very easily set up a Tasker task to wake up my phone (but keep it locked) so I could give it "OK Google" commands. This way I can send texts or navigate home without taking my phone out. Pebble Tasker makes it only a click away.
imaginaryenemy said:
Not really what you are after, but I very easily set up a Tasker task to wake up my phone (but keep it locked) so I could give it "OK Google" commands. This way I can send texts or navigate home without taking my phone out. Pebble Tasker makes it only a click away.
Click to expand...
Click to collapse
I did this as well, but now, every time I launch PebbleTasker on my phone, Voice Search begins opening repeatedly and I can't even get to it to try to add additional tasks. Have you run into this? Did I do something wrong? Al I did was create a profile, then a task to launch the VoiceSearch App. It came up on my pebble fine and works flawlessly. It wasn't until I went to add somethign else to the PebbleTasker that I ran into this. Since then I've deleted the task from PebbleTasker and it still does it. Very odd. Any ideas?
I didn't do mine this way because your phone needs to be awake for the Voice Search app to open. However, I just set it up to see if I had the same issue as you, and I didn't. Everything worried as it should. I don't know why it isn't working for you.
My task is just to wake up my phone, then I give my "OK Google" voice command.
imaginaryenemy said:
I didn't do mine this way because your phone needs to be awake for the Voice Search app to open. However, I just set it up to see if I had the same issue as you, and I didn't. Everything worried as it should. I don't know why it isn't working for you.
My task is just to wake up my phone, then I give my "OK Google" voice command.
Click to expand...
Click to collapse
OK. I'm setup a little different. I installed the Xposed mod which lets me do this without a task to wake the phone. I simply set a task to launch VoiceSearch, and when I press the button on pebble tasker, the app launches without even lighting up the screen.
Here's the link to it. forum.xda-developers.com/xposed/modules/mod-secure-google-search-t2606688
I think there's something else going on here though. It was working fine Sunday. I'm having general issues with Google now it seems. Reminders aren't getting set to notes and instead are getting sent to alarms. Even if I say "remind me to get cheese the next time I'm at walmart", it tries to set an alarm then it stops because it's waiting for me to set a time. I installed Keep thinking that might fix it...no joy. I cleared the cache and all data, uninstalled google app and the launcher, restarted to clear the cache partition, rebooted in safe mode, went back to regular mode and still get the same problems. Kind of stumped right now. I can't delete older cards and if I go directly into reminders and try to push the plus sign button to add a reminder, it correctly identifies my words and they go on the screen and it just stops there. it's not locked up or anything. It just won't go any further. So something is really wrong with google. just dont' have a clue what it could be at the moment.
Yeah, it sounds like like the Pebble task is the least of your worries. I read here that someone else was having a similar reminders issue. I have no idea if he is rooted or not, so I don't know if it is Xposed related. Good luck.
imaginaryenemy said:
Yeah, it sounds like like the Pebble task is the least of your worries. I read here that someone else was having a similar reminders issue. I have no idea if he is rooted or not, so I don't know if it is Xposed related. Good luck.
Click to expand...
Click to collapse
The plot thickens. I have a Nexus 7 mounted on my refrigerator basically for Google now and the way I can just say "make a note" and it will save a note in evernote for me. It's stock and with the latest auto update is running 4.4.4. A power cord is connected perpetually. I haven't touched the thing physically in MONTHS. But apparently in the last 3-4 days it has developed the same problem with reminders not working. It gets stuck just like my phone does when I'm manually trying to make a reminder. It's like the entire reminder function was removed and my phone just grabbed onto alarms as a last resort rather than not do anything at all. I've googled it and haven't found anyone else with the issue (or they haven't noticed yet). but to have it on two different devices at the same time - one of which I haven't even touched indicates that there's a conflict with an update and probably a common app between the two devices.......now to figure out what it might be.......
kfreels said:
The plot thickens. I have a Nexus 7 mounted on my refrigerator basically for Google now and the way I can just say "make a note" and it will save a note in evernote for me. It's stock and with the latest auto update is running 4.4.4. A power cord is connected perpetually. I haven't touched the thing physically in MONTHS. But apparently in the last 3-4 days it has developed the same problem with reminders not working. It gets stuck just like my phone does when I'm manually trying to make a reminder. It's like the entire reminder function was removed and my phone just grabbed onto alarms as a last resort rather than not do anything at all. I've googled it and haven't found anyone else with the issue (or they haven't noticed yet). but to have it on two different devices at the same time - one of which I haven't even touched indicates that there's a conflict with an update and probably a common app between the two devices.......now to figure out what it might be.......
Click to expand...
Click to collapse
As far as I know, a lot of voice-initiated command will become available with Pebble-core's connection to Alexa
Currently, the pebble is also capable of doing such with 'snowy' commands. See mydogsnowy.com
I have no stake in that product whatsoever, and in fact I struggling a bit with its voice-recognition ... I'm dutch, so perhaps my english is not adequate for the recognition. So... your mileage may vary, but from what I've tested and seen described it's really promising
kfreels said:
I did this as well, but now, every time I launch PebbleTasker on my phone, Voice Search begins opening repeatedly and I can't even get to it to try to add additional tasks. Have you run into this? Did I do something wrong? Al I did was create a profile, then a task to launch the VoiceSearch App. It came up on my pebble fine and works flawlessly. It wasn't until I went to add somethign else to the PebbleTasker that I ran into this. Since then I've deleted the task from PebbleTasker and it still does it. Very odd. Any ideas?
Click to expand...
Click to collapse
where to buy such a gadget

Ending Driving Mode for Google Maps

So far my attempts to google this answer have come up empty. I can open Google Maps driving mode with AutoShortcut no problem. But making it actually close is turning out to be impossible.
If I try to do a "Kill App", it doesn't kill the notification, leaving it in a bizarre half-open state. Has anyone found an intent or something that can actually kill this off properly?
Have you tried to run a Go Home action before killing the app?
Yes, unfortunately does not help at all. Even gave it ~3 second wait.
Vincent Law said:
So far my attempts to google this answer have come up empty. I can open Google Maps driving mode with AutoShortcut no problem. But making it actually close is turning out to be impossible.
If I try to do a "Kill App", it doesn't kill the notification, leaving it in a bizarre half-open state. Has anyone found an intent or something that can actually kill this off properly?
Click to expand...
Click to collapse
Try code run shell: am force-stop com.google.android.apps.maps & tick "use root". Change the package name if is necessary.
My device is not rooted, is that going to do anything?
Vincent Law said:
My device is not rooted, is that going to do anything?
Click to expand...
Click to collapse
Root is needed to run that command.
But did you try to kill another app with the method you've tried for google maps? Is it working?
So I managed to work out a solution to this, and it involves using the AutoNotifications plugin. I use the plugin to instruct Tasker to press the "end navigation / stop driving" button in the notification tray, which does the correct thing. For those looking to replicate, it's an "internal action", so use the first internal action, not one of the action button options that most guides suggest.
Vincent Law said:
So I managed to work out a solution to this, and it involves using the AutoNotifications plugin. I use the plugin to instruct Tasker to press the "end navigation / stop driving" button in the notification tray, which does the correct thing. For those looking to replicate, it's an "internal action", so use the first internal action, not one of the action button options that most guides suggest.
Click to expand...
Click to collapse
i am trying to "stop driving" using autonotification and cant figure it out. Can you please be more specific than "internal action" which internal action. What variable did you using for the stop driving button. I am trying to use autonotification query and action but i cant figure out which variable in the query to use for the action.
thanks
Vincent Law said:
So I managed to work out a solution to this, and it involves using the AutoNotifications plugin. I use the plugin to instruct Tasker to press the "end navigation / stop driving" button in the notification tray, which does the correct thing. For those looking to replicate, it's an "internal action", so use the first internal action, not one of the action button options that most guides suggest.
Click to expand...
Click to collapse
I'm new to autonotification - I have it set up to query for the "Maps" notification, and it's returning the %anapp variable correctly - I can even click on the notification and bring the focus back to the maps app - but how the heck do you fire this "internal action" to stop driving? I'm sure it must be obvious...
Bulldoguk72 said:
I'm new to autonotification - I have it set up to query for the "Maps" notification, and it's returning the %anapp variable correctly - I can even click on the notification and bring the focus back to the maps app - but how the heck do you fire this "internal action" to stop driving? I'm sure it must be obvious...
Click to expand...
Click to collapse
I just spent a few days trying to figure this out. Here is how I was able to get it working:
Create a new task / add these to a current task:
A1 - Add Action - Plugin, AutoNotification, Query. Tap Edit, Select "Maps" from Apps and under Advanced tap Internal Actions Big, tap the Tag icon. It should populate with %aninternalactions.
A2 - (Only needed for debugging) Add Action, Alert, Flash, tap the Tag and choose %aninternalactions, then edit to choose the first value in the array - %aninternalactions(1)
A3 - Add Action, Plugin, AutoNotification, Actions. Tap Intercept Action, tap the tag and choose %aninternalactions, then edit it again to - %aninternalactions(1)
To test, start driving mode and run the task manually. You should see the button GUID flash (if you enabled A2) and Driving Mode should end :good:
It works now
I figured out a solution.
Tasker gives you the advise to use ADB Wifi.
Here's what I did:
- enable and go to developer settings
- check ADB debugging
- check ADB while charging (only needed, if it stops working for you when you disconnect your USB cable. Try without first!)
- then run from your PC `adb tcpip 5555` to enable adb over wifi
- use Tasker Action "kill app", uncheck "Use Root".
Maps (or Driving Mode) can finally be killed this way.
Tried on Huawei Mate 20 Pro (LYA-L29) running Android 10 (10.0.0.214)
How are you able to open Google maps?
Mine opens for a millisecond then closes.
MSK1 said:
How are you able to open Google maps?
Mine opens for a millisecond then closes.
Click to expand...
Click to collapse
Hi, MSK1,
I searched for a long time for this solution, so maybe this one will help you out.
You can launch Google Maps directly into Navigation mode via using an intent.
You may find this one interesting. https://forum.xda-developers.com/showpost.php?p=46600949&postcount=3
Mine looks like this.
google.navigation:q=Zip+City,+Street+Number
Happy Driving!
Best Regards.
3di said:
Hi, MSK1,
I searched for a long time for this solution, so maybe this one will help you out.
You can launch Google Maps directly into Navigation mode via using an intent.
You may find this one interesting. https://forum.xda-developers.com/showpost.php?p=46600949&postcount=3
Mine looks like this.
google.navigation:q=Zip+City,+Street+Number
Happy Driving!
Best Regards.
Click to expand...
Click to collapse
Thanks.
I found an easier way.
I downloaded the "navigation shortcut" app from the play store.
When I launch this as an app from tasker then the navigation stays on.
Sent from my EVR-N29 using Tapatalk

Integrate MyQ with Tasker

So, I searhed and the only thing that pops up about this is about a year old.
MyQ makes chamberlain and liftmaster garage door openers open by using their app on your smarthphone.
What I would like to do is create a task that triggers based off my proximity (location) to arriving home for my garage to automatically open.
I see that people were able to achieve something to this affect a year ago, but it seems that myQ has locked down this functionality.
Can anyone elaborate or help with a solution to this? I would be fine with using my android smartwatch to trigger a tasker profile too.
Thanks in Advance!
elijahblake said:
So, I searhed and the only thing that pops up about this is about a year old.
MyQ makes chamberlain and liftmaster garage door openers open by using their app on your smarthphone.
What I would like to do is create a task that triggers based off my proximity (location) to arriving home for my garage to automatically open.
I see that people were able to achieve something to this affect a year ago, but it seems that myQ has locked down this functionality.
Can anyone elaborate or help with a solution to this? I would be fine with using my android smartwatch to trigger a tasker profile too.
Thanks in Advance!
Click to expand...
Click to collapse
I have been using Tasker with MyQ for my watch and shortcuts and it had been working great until someone at MyQ decided to disable that function. Now they figured they can make a buck by charging you for that function. I haven't came across any work arounds yet but if you or anyone else know of a way to get Tasker to work with MyQ again. Please let us know.
Why not just revert to an older version of the app? If version 3.83 is old enough, then it's available on apkmirror.com. Make sure to turn off auto updates for the app in the play store.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
Why not just revert to an older version of the app? If version 3.83 is old enough, then it's available on apkmirror.com. Make sure to turn off auto updates for the app in the play store.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
i may be wrong, but i think they actually setup the paywall by when you hit their server to login with your credentials... So I don't "think" an older version of the app would help. (i could be wrong)?
I take it then that this works by your logging into their server which then sends a packet to the opener via the internet?
Can you sniff the network and grab what the command is the opener is looking for, then mimic that directly to the opener?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
I take it then that this works by your logging into their server which then sends a packet to the opener via the internet?
Can you sniff the network and grab what the command is the opener is looking for, then mimic that directly to the opener?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
You mean do a packet capture with wireshark? I can give it a try

Event profile stops working after restart/timeperiod

Been trying to Google a solution but in vein.
I want my Flic button to trigger a task.
I make a Profile in Tasker, choose event -> Plugin -> Flic and select my button and behaviour.
To this event I choose one of my tasks.
So far so good. The task executes when I click my Flic button. Great!
After a while, leaving the room with my phone or rebooting the phone, nothing happens when I'm back and click my Flic! I'll then have to open Tasker, edit my Flic-event under profiles and save the Flic behavior again for it to execute when I click my Flic.
Why does it disconnect like this? It only works just after creating the event.
Please help. Desperate!
Have you asked the plug-in developer for help? This sounds like it's in their court. Looking at the Tasker run log might give some insight, but my guess is it's at a lower level than that.
Reading through the FLIC community support it looks like there are reports of hit or miss and maybe only a double click action will work with Tasker.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Thanks for your reply ktmom!
I found a workaround for my problem.
I simply put my task as a shortcut (instead of a widget/task) on my homescreen. I can then assign my task within Flic app by choosing "Launch shortcut" under "Phone control" in Flic app...
However I'm still bothered by that previous mentioned problem.
Things are sort of working now !
Good workaround idea!
Maybe one day they'll fix the issue so we don't have to keep an extra shortcut to make it work!

Categories

Resources