Keeping tabhost while switching intent from button click

view story

http://stackoverflow.com – I am adding a new tab layout to my app. My app has 4 activities. Before, the navigation was done with buttons displayed in activities, for example a button in activity 1 make you go to section 4. Each button was starting a new activity with a new intent. To go back user could hit his native device back button. Example of button: Button b1= (Button) findViewById(R.id.b1); b1.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { Intent i = new Intent(this, ActivityTab4.class); startActivity(i); (HowTos)