General discussions about Automagic and automation in general
Moderator: Martin
-
Rhonin
- Posts: 19
- Joined: 08 Apr 2015 05:23
Post
by Rhonin » 12 Oct 2015 14:58
Hi folx,
I have created a flow which switch off bluetooth, switch on WLAN and additionally it should stop audible - i use the former configuration if i drive home or to work.
I tried to kill app, kill process - different types (term, kill....) but i do not succeed. I remember that maybe the notification could prevent the killing of the app - like automagic do - But what is then the solution ? Maybe audible should get the status of a background app to get the possibility to kill it ? But i don't know how to do it ....

Any help is appreciated....
THX in advance
Rhonin
Automagic on rooted Xperia Z3c running on Android 5.1.1
-
Martin
- Posts: 4468
- Joined: 09 Nov 2012 14:23
Post
by Martin » 12 Oct 2015 18:55
Hi,
Android usually does not like to kill foreground apps or services. You could either try to use Control UI to simulate the actions required to terminate Audible manually.
On a rooted device you could use the sledgehammer: action Execute Root Command: am force-stop com.audible.application
Regards,
Martin
-
Rhonin
- Posts: 19
- Joined: 08 Apr 2015 05:23
Post
by Rhonin » 14 Oct 2015 03:58
THX again Martin,
the sledgehammer method solved my problem
Have a nice day
Rhonin
Automagic on rooted Xperia Z3c running on Android 5.1.1