hi,

oh sorry but i know the api-demo and for one activity firing up an
intent worked well but i really mean a android-task! So a few
activities where sequential launched and  i would like to see all the
content views from these activities in the tab.

On 21 Apr., 07:54, Android Users <[email protected]> wrote:
> 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