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?
How to close/kill Pandora?
Moderator: Martin
-
- Posts: 18
- Joined: 13 Sep 2013 03:11
Re: How to close/kill Pandora?
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
I don't have root and the Kill App action won't kill Pandora. I guess because it is running in foreground always?
Josh
-
- Posts: 18
- Joined: 13 Sep 2013 03:11
Re: How to close/kill Pandora?
Also, check logcat to see if there are any errors whenyou execute the flow.
Josh
Josh
Re: How to close/kill Pandora?
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>
am force-stop <package name>
pm disable <package name>
pm enable <package name>