I suggest you should create a tabHost contains all 5 Activity A, B, C, D, E After initialize tabHost, let hide this tab bar by calling: tabHost.getTabWidget. SetVisibility(View. GONE) And you should switch between each Activity like this: public boolean onOptionsItemSelected( MenuItem item ) { switch (item.getItemId()) { case R.id.
Menu_item_A: tabHost. SetCurrentTab(0); return true; case R.id. Menu_item_B: tabHost.
SetCurrentTab(1); return true; case R.id. Menu_item_C: tabHost. SetCurrentTab(2); return true; case R.id.
Menu_item_D: tabHost. SetCurrentTab(3); return true; case R.id. Menu_item_E: tabHost.
SetCurrentTab(4); return true; return false; } So, when you are in A1 -> A2, and switch to Activity B, and use menu to switch back A, you're still in A2 Hope it can help you.
I suggest you should create a tabHost contains all 5 Activity A, B, C, D, E. After initialize tabHost, let hide this tab bar by calling: tabHost.getTabWidget. SetVisibility(View.
GONE); And you should switch between each Activity like this: public boolean onOptionsItemSelected( MenuItem item ) { switch (item.getItemId()) { case R.id. Menu_item_A: tabHost. SetCurrentTab(0); return true; case R.id.
Menu_item_B: tabHost. SetCurrentTab(1); return true; case R.id. Menu_item_C: tabHost.
SetCurrentTab(2); return true; case R.id. Menu_item_D: tabHost. SetCurrentTab(3); return true; case R.id.
Menu_item_E: tabHost. SetCurrentTab(4); return true; return false; } So, when you are in A1 -> A2, and switch to Activity B, and use menu to switch back A, you're still in A2. Hope it can help you.
Instead of buttons at bottom of the screen, use TabHost and ActivityGroup to display multiple activities under the selected tab. Main activity: /** * Activity that displays the main tabs and manages separate activity for the * selected tab. */ public class MainActivity extends TabActivity { public void onCreate(Bundle savedInstanceState) { super.
OnCreate(savedInstanceState); // load main view setContentView(R.layout. Main_activity); // get the TabHost TabHost tabHost = getTabHost(); // resusable TabSpec for each tab TabHost. TabSpec spec; // reusable Intent for each tab Intent intent; // first tab intent = new Intent(this, TabGroupActivity.
Class); spec = tabHost. NewTabSpec("first") . SetIndicator(createTabIndicatorView(tabHost, "First", R.drawable.
Ic_tab_first)) . SetContent(intent); tabHost. AddTab(spec); // second tab intent = new Intent(this, TabGroupActivity.
Class); spec = tabHost. NewTabSpec("second") . SetIndicator(createTabIndicatorView(tabHost, "Second", R.drawable.
Ic_tab_second)) . SetContent(intent); tabHost. AddTab(spec); tabHost.
SetCurrentTab(0); } /** * Creates tabs with custom layout. * * @param tabHost the tab host * @param tabTitle the title of the tab * @param icon the icon of the tab * @return the view representing single tab */ private View createTabIndicatorView(TabHost tabHost, CharSequence tabTitle, int icon) { LayoutInflater inflater = (LayoutInflater) this. GetSystemService(Context.
LAYOUT_INFLATER_SERVICE); View tabIndicator = inflater. Inflate(R.layout. Tab_indicator, tabHost, false); final TextView tv = (TextView) tabIndicator.
FindViewById(R.id. Title); tv. SetText(tabTitle); final ImageView iconView = (ImageView) tabIndicator.
FindViewById(R.id. Icon); iconView. SetImageDrawable(getResources().
GetDrawable(icon)); return tabIndicator; } } The activty group: /** * The purpose of this Activity is to manage the activities in a tab. Note: * Child Activities can handle Key Presses before they are seen here. */ public class TabGroupActivity extends ActivityGroup { private ArrayList mIdList; public TabGroupActivity() { } @Override public void onCreate(Bundle savedInstanceState) { super.
OnCreate(savedInstanceState); if (mIdList == null) { mIdList = new ArrayList(); } startChildActivity("firstChildActivity", new Intent(this, FirstChildActivity. Class)); } /** * This is called when a child activity of this one calls its finish method. * This implementation calls {@link LocalActivityManager#destroyActivity} on * the child activity and starts the previous activity.
If the last child * activity just called finish(),this activity (the parent), calls finish to * finish the entire group. */ @Override public void finishFromChild(Activity child) { LocalActivityManager manager = getLocalActivityManager(); int index = mIdList.size() - 1; if (index 1) { Activity current = getLocalActivityManager(). GetActivity(mIdList.
Get(length - 1)); current.finish(); } else { super.onBackPressed(); } } }.
The purpose of this Activity is to manage the activities in a tab. * Child Activities can handle Key Presses before they are seen here. StartChildActivity("firstChildActivity", new Intent(this, FirstChildActivity.
* This is called when a child activity of this one calls its finish method.
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.