Have a static TabHost in your parent activity. Or in the parent
activity, expose a method that would allow child activities to change
the tab.

Thanks and Regards,
Kumar Bibek

On May 9, 7:11 pm, pawan nimje <[email protected]> wrote:
> Hi All,
>
> Currently I have a TabHost implemented with 3 tabs each containing a
> separate activity. My question is how do I switch between tabs from within
> one of the activities that is located inside the tab host.
>
> ie say i have a button inside one of the tabs[tab 1], when i click on this
> button it should switch to another tab[tab 2].
>
> To understand my problem click on the link below,
>
> http://stackoverflow.com/questions/2541802/android-switch-tabs-from-w...
>
> plz help ...any kind of suggestion will do ...
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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