This is my problem, I have the main view which only shows one button, pressing this button another view is shown. This view has only another button, when this button is push
here,
@Override public void onBackPressed() { setResult(Activity.RESULT_OK); finish(); }
does work to return(RESULT_OK) by pressing the BACK button. Do NOT call
super.onBackPressed().
super.onBackPressed()