You mean running an activity within a tab????

If so, yes you can.

Ex:

tabHost.addTab(tabHost.newTabSpec("Tab 1")
                .setIndicator("Tab 1")
                .setContent(new Intent(this, Tab1Data.class)
                 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)));


.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP) ------ use this if u need the
activity to be refreshed everytime its opened.



On Tue, Apr 21, 2009 at 11:02 AM, Benny <[email protected]>wrote:

>
> Hi everybody,
>
> is it possible to load a whole android-task in a single tab from the
> TabHost widget?
> >
>

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

Reply via email to