Can't exit an Android application
- by saravanan
//
@Override
public boolean onOptionsItemSelected(MenuItem item) {
// TODO Auto-generated method stub
switch(item.getItemId()) {
case EXIT:
try {
this.finish();
} catch(Exception e) {
}
break;
}
return false;
}
When I exit my android application it resumes the previous screen. How can I exit the Android application properly?