I am making a basic app in which the users can check their "dinning balance", i managed to do this by parsing the proper web page.
My app works just fine, but i found that when i exit it, the Current Running Apps Screen (Android app manager) goes really slow, even laggy, when my app is being displayed.
I tried to kill my app using the following methods so the app won't be running in background when i exit it, but it didnt work:
@Override
protected void onStop() {
super.onStop();
android.os.Process.killProcess(android.os.Process.myPid());
System.exit(0);
}
@Override
public void onBackPressed() {
super.onBackPressed();
finish();
System.exit(0);
}`
So right now, i am trying to figure out why does the "Current Apps" screen is going slower due to my app. My app is not executing anything in the background, its just idle. Newbie here.