Hi,
I am doing some game coin farming on Bluestack, after evaluating multiple automation software like Tasker, I found Automagic to have the best interface in terms of control (imho).
However, I did encounter a problem when I was trying to restart an app on a regular interval by executing a kill followed by a launch.
If I stay in the game, when the interval is met and Automagic tries to kill the game, the game very briefly pause for 0.2 second but then simply continue. However, if I move to the Automagic interface, when the interval is met the game is indeed killed (which I can check by then switching to the game and saw it has restarted). Later on I found that if, instead of using "kill app", I use "kill app process" with root then it does work even with I stay in the game.
While overall it works out, I guess it maybe useful to investigate which part may have prevented Automagic from working properly with the normal "kill app" action.
Kindly let me know if any info will be helpful.
Problem with killing app in Bluestack
Moderator: Martin
Re: Problem with killing app in Bluestack
Without root, kill app only works when the app you wanna kill is being background. This is android protection, so you can't simply just kill a foreground app (the game is currently active). To kill the game when the time come, you can simply issue show home screen, which makes the game become background and kill it. So just an additional show homescreen before kill app.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Problem with killing app in Bluestack
I see, this makes a lot of sense and I think it is very easy to implement.Desmanto wrote: ↑05 Nov 2019 17:47Without root, kill app only works when the app you wanna kill is being background. This is android protection, so you can't simply just kill a foreground app (the game is currently active). To kill the game when the time come, you can simply issue show home screen, which makes the game become background and kill it. So just an additional show homescreen before kill app.
Thanks a lot for the help!