How to close/kill Pandora?

Post your questions and help other users.

Moderator: Martin

Post Reply
wrek
Posts: 6
Joined: 01 Aug 2013 22:49

How to close/kill Pandora?

Post by wrek » 10 Sep 2013 12:32

Guys, I have a flow that fires when I disconnect a power source.
It checks the time to see if I'm commuting. If it's between 4p and 7p and I disconnect the power it closes a bunch of stuff that I may have running:
Dsub, Waze, Pandora, etc.,
I've tried regular KILL (sig 17 I think) and Kill 9 but nothing seems to gracefully kill Pandora. Kill 9 shuts it down of course but then when I start it back up (Pandora) it crashes.

Anyone have any tips here?

standalonescript
Posts: 18
Joined: 13 Sep 2013 03:11

Re: How to close/kill Pandora?

Post by standalonescript » 13 Sep 2013 17:39

Perhaps try kill -19

I don't have root and the Kill App action won't kill Pandora. I guess because it is running in foreground always?

Josh

standalonescript
Posts: 18
Joined: 13 Sep 2013 03:11

Re: How to close/kill Pandora?

Post by standalonescript » 13 Sep 2013 17:47

Also, check logcat to see if there are any errors whenyou execute the flow.

Josh

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: How to close/kill Pandora?

Post by Martin » 14 Sep 2013 07:03

There are some more ways to terminate apps and services described here: DIY-Actions, especially following commands:
am force-stop <package name>
pm disable <package name>
pm enable <package name>

Post Reply