HI, Try using getTabHost().setCurrentTab(1/*tab2*/); once you enter/leave the tab2 activity
On Jul 1, 9:01 pm, Jeruliu <[email protected]> wrote: > I have a TabActivity class A with 2 tabs, a sub activity class B in > tab 2. > > Now a dialog pops up from the UI in B, once i click the save button in > this dialog it goes back to the TabActivity but the tab is set to 1, > however i want to set the current tab to 2 once the dialog box closed. > > In short i need to acquire the tabHost reference in the diaglo when > clicking on the save button. > > Please let me know how to do that thanks. -- 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

