android - When using System.exit() the app does't closes -
i have app in @ home screen onbackpressed() have used system.exit() nither app closes infact gives me forceclose.
home.class
@override public void onbackpressed() { super.onbackpressed (); system.exit (0); }
use finish()
method instead of system.exit (0);
Comments
Post a Comment