Page 1 of 1

can't kill messenger apps?

Posted: 22 Jul 2014 01:55
by evebrea
So i have an app called "IM+" that i'm having issues with, but i also had issues with skype, and trillian.

i have a flow setup that when i connect to my home wifi, proceeds to attempt to kill the app (IM+) to sign me out. It's not working.

i have it looping through a few attempts, first up being :

Execute root command : am force-stop de.shapeservices.impluslite

after it does this twice (execution count) ir proceeds to use the plugin : taskkill
on extreme mode to via ICS+ method (says it's the same as going to app details and hitting force close)

these don't seem to be working as the app's widget shows i'm still online on all my messengers it's associated with, rather than "IM+ is not running" as it does when i manually sign out.

for reference, my phone is an LG optimus F3 from virgin mobile.

Re: can't kill messenger apps?

Posted: 23 Jul 2014 18:07
by Martin
Where do you see that you are still online, on other Android devices or a desktop PC? Maybe IM+ explicitly sends a status update to their servers when you shutdown IM+ from within the app. A force-close should immediately stop the process so the app has no chance to send the status update to their servers.
If this is the case, you would probably have to use action Control UI or Execute Root Command: input tap ... to automatically click the logout/shutdown button within IM+.

Re: can't kill messenger apps?

Posted: 23 Jul 2014 18:34
by evebrea
Martin wrote:Where do you see that you are still online, on other Android devices or a desktop PC? Maybe IM+ explicitly sends a status update to their servers when you shutdown IM+ from within the app. A force-close should immediately stop the process so the app has no chance to send the status update to their servers.
If this is the case, you would probably have to use action Control UI or Execute Root Command: input tap ... to automatically click the logout/shutdown button within IM+.

not sure where im+ is concerned, but on skype i know i was still logged in because a friend would message me and it would come up on the pc and phone at the same time, to my dismay

Re: can't kill messenger apps?

Posted: 23 Jul 2014 19:02
by Martin
When killing/stopping an app with such commands, the app has no chance to make a proper logout so you will likely appear as online for other users.

Skype should not receive the call/message on the phone where you executed Execute Root Command: am force-stop com.skype.raider, at least as long as you did not start the Skype process in some way manually on the Android device.
You could try Execute Root Command: pm disable com.skype.raider to completely disable Skype on the Android device but this command will also remove the shortcuts on the launcher almost like an uninstall of the app.

Re: can't kill messenger apps?

Posted: 29 Jul 2014 19:36
by evebrea
I'm actually not using skype currently, i'm using IM+. I wonder, if i did that disable thing, would it lose all my login infos? aim, yahoo, skype, msn..

Re: can't kill messenger apps?

Posted: 30 Jul 2014 18:35
by Martin
It did not delete the data and caches when I tried it, but maybe it does not behave the same on all devices so I would recommend to have a backup ready.