hiii all ....

i have a four tabs. using following codes

TabHost host = getTabHost();

  host.addTab(host.newTabSpec("one").setIndicator("Sip
Phone",getResources().getDrawable(R.drawable.ic_launcher_phone_dialer)).setContent(new
Intent(this, tabactivity1.class)));

        host.addTab(host.newTabSpec("two").setIndicator("Call
Log",getResources().getDrawable(R.drawable.ic_contacts_edit_contacts)).setContent(new
Intent(this, tabactivity2.class)));

  host.addTab(host.newTabSpec("three").setIndicator("Phone
Book",getResources().getDrawable(R.drawable.abcd)).setContent(new
Intent(this, tabactivity3.class)));

 host.addTab(host.newTabSpec("four").setIndicator("About
Us",getResources().getDrawable(R.drawable.im)).setContent(new Intent(this,
tabactivity4.class)));



And the Problem is If i want to start activity which is not specified
in tabhost in above Java code,it is going out of tabactivity.
ie.,It is not coming in tabactivity.


it is possible that i can start a new activity within the tabactivity3 or
replace the tabactivity3 screen.

its possible in android or not.

can anyone do this in android.
plz help me
thank you

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to