Tuesday 15 January 2013

android - Killing your application from background when it goes into the background -



android - Killing your application from background when it goes into the background -

i using onpause killing application when goes in background.

@override public void onpause(){ super.onpause(); finish(); system.runfinalizersonexit(true); system.exit(0); android.os.process.killprocess(android.os.process.mypid()); }

this has 2 problems:

application still in background. when in sec or 3rd or next activity , press back key, application exits. want kill application when goes in background.

android

No comments:

Post a Comment