There are many question regarding this topic but there is no clear answer. Although android\'s memory management is very solid, so many people believe that we shouldn\'t kil
@Override public boolean onKeyUp(int keyCode, KeyEvent event) { // TODO Auto-generated method stub if(keyCode == KeyEvent.KEYCODE_BACK) { finish(); return true; } else{ return super.onKeyUp(keyCode, event); } }
use the above method in the very first activity that is launched on app start up