Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi i want make app to kill whatsapp proccess and service or something else to get whatsapp offline from internet.
i try use this code but it not work:
Java
activityManager.killBackgroundProcesses(pname);
android.os.Process.killProcess(wpid);
android.os.Process.sendSignal(wpid, android.os.Process.SIGNAL_KILL);
Posted
Updated 2-Apr-15 7:48am
v2
Comments
Sergey Alexandrovich Kryukov 2-Apr-15 12:59pm    
Why? Brutal killing of any process by some application (not OS itself) is the sign of technology abuse.
—SA
Behnam Mohammadi 3-Apr-15 2:39am    
it s example, it s good example for app with service in background. do u have any idea for do that?
and tech. is like two side of blade and i am sure u don't know whats my point so don't judge please...
Sergey Alexandrovich Kryukov 3-Apr-15 2:48am    
Let me freely express my opinions, as this is a free community for everyone. If I make a mistake, you can always correct me.
But unfortunately, I cannot understand your last comment. I think you did not even try to answer my question.
And I think if I don't know your point, this is your fault. Isn't that logical? You really need to explain your motivation, if you want to be taken seriously.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900