Post Reply

Tasker to kill Waze

Post by
Hello, I have successfully set up Tasker to start Waze when it connects to my car's bluetooth, however with Waze wanting to run persistantly unless you power it off in the application, tasker seems to be having difficulty to shut it off even via root. If someone is using tasker, how are you killing waze?

Thanks!

POSTER_ID:17224915

1

Send a message

Post by caillou
I would also like to do that

What I tried so far:

- With cyanogen you can use "up" "down" "right" "left" commands
Input -> Dpad -> down + right + down + press = quit

- With command shell, install the locale execute plugin
https://market.android.com/details?id=d ... aleExecute
Then it's in Plugin in tasker action list

The big question is:
What is the command to kill waze from shell ????

I tried some stuffs without success like

Code: Select all

su
killall -9 com.waze
ondestroy() com.waze
etc.

I tried to record the log while force stopping waze from android app manager
I got "Force stopping package com.waze uid=10066"

Any waze developper to indicate the command line(s) for stopping waze?
caillou
Posts: 5
Send a message

Post by ControlNode
I plan to go on a drive later today to break in the new race brake pads on the car and will use that tasker job to close it and see if my drive uploads properly.
ControlNode
Posts: 77
Has thanked: 15 times
Been thanked: 1 time
Send a message

Post by ControlNode
Looks to work, drive was uploaded.
ControlNode
Posts: 77
Has thanked: 15 times
Been thanked: 1 time
Send a message

Post by dknight212
Yeah, an api for plug-ins!

David, using Tapatalk
dknight212
Posts: 4962
Has thanked: 367 times
Been thanked: 603 times
Send a message

Post by dmcconachie
I've only ever got it to start via tasker. As you say it's hard enough to exit the app manually!
dmcconachie
Posts: 6119
Has thanked: 55 times
Been thanked: 181 times
Send a message
dmcconachie • Former Global Champ

UK WikiUK FB PageCurrent status

Post by dmcconachie
I'd love for waze to actually have a proper API for tasker to use. A pipedream though! :-)
dmcconachie
Posts: 6119
Has thanked: 55 times
Been thanked: 181 times
Send a message
dmcconachie • Former Global Champ

UK WikiUK FB PageCurrent status

Post by dmcconachie
Does waze still treat it as a crash next time you load the app?

via Tapatalk
dmcconachie
Posts: 6119
Has thanked: 55 times
Been thanked: 181 times
Send a message
dmcconachie • Former Global Champ

UK WikiUK FB PageCurrent status

Post by dmcconachie
lloyd_a wrote:I've found a much easier, and probably approved, way using Intents from Tasker. No need to root, and closes down fine each time. Documented here viewtopic.php?f=3&t=69009.

Lloyd
Looks hopeful, how did you find the intent name? Have you confirmed drives still upload when the app closes via this method?
dmcconachie
Posts: 6119
Has thanked: 55 times
Been thanked: 181 times
Send a message
dmcconachie • Former Global Champ

UK WikiUK FB PageCurrent status

Post by dmcconachie
Sounds positive - I added this yesterday and it seems to work very smoothly. Regarding uploads, bear in mind they are not done chronologically and longer drives will typically take longer to appear.
dmcconachie
Posts: 6119
Has thanked: 55 times
Been thanked: 181 times
Send a message
dmcconachie • Former Global Champ

UK WikiUK FB PageCurrent status

Post by knobbysideup
lloyd_a wrote:I've found a much easier, and probably approved, way using Intents from Tasker. No need to root, and closes down fine each time. Documented here viewtopic.php?f=3&t=69009.

Lloyd
Thanks lloyd_a! This works perfectly for me.
knobbysideup
Posts: 1
Has thanked: 1 time
Send a message