I am trying to have both a tab widget and another activity running at the same time. I am trying to start the second activity from the same oncreate method as the tab widget;
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mTabHost = getTabHost(); mTabHost.addTab(mTabHost.newTabSpec("one").setIndicator ("one").setContent(R.id.textview1)); mTabHost.addTab(mTabHost.newTabSpec("two").setIndicator ("two").setContent(R.id.textview2)); mTabHost.addTab(mTabHost.newTabSpec("three").setIndicator ("three").setContent(R.id.textview3)); mTabHost.setCurrentTab(0); Intent i = new Intent(Test.this, TestThing.class); } This only stops the tab widget from being shown(if i understand correctly it would need a pause/ interrupt to show the tab activity), I would however like it to work with these 2 running together. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---