May be this be helpful Android: Clear the back stack.
You coud just do: In SearchActivity Intent I = new Intent(this, ActivityA. Class); i. SetFlags(Intent.
FLAG_ACTIVITY_NO_HISTORY); startActivity(i); In ActivityA Intent I = new Intent(this, SearchActivity. Class); i. SetFlags(Intent.
FLAG_ACTIVITY_NO_HISTORY); startActivity(i); which will take you back from B to Search and then to Main on two presses of the back button. However If you go from Main to Search to A to Search and then hit the back buttons, you would go from Search to Search to Main. (Two instances of search, probably not what you want) It's better to set the flags in Activity A to be: Intent I = new Intent(this, SearchActivity.
Class); i. SetFlags(Intent. FLAG_ACTIVITY_REORDER_TO_FRONT); startActivity(i); This will stop the above behaviour and still give you what you want when you hit back from B.
I just had to override the back button in SEARCH activity like so @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent. KEYCODE_BACK && event.getRepeatCount() == 0) { Log. D(TAG, "back pressed"); Intent intent = new Intent(this, MainActivity.
Class); intent. AddFlags(Intent. FLAG_ACTIVITY_CLEAR_TOP); intent.
AddFlags(Intent. FLAG_ACTIVITY_NEW_TASK); startActivity(intent); } return super. OnKeyDown(keyCode, event); }.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.