i also tried your demo code... it works great... my aim was to navigate to an existing tab via a button with the Tab Layout demo from the sdk it doesn't work because of the subclasses (or new activities).
with your code it works. but what about ColletJb's question. is it possible to have these acticities within your demo? best regards m, colone On 28 Feb., 11:48, ColletJb <[email protected]> wrote: > Thanks for your demo code... > > But unfortunately, I can't use that method regarding the fact I have a > MapActivity and two ListActivity as "sub" activities. > > My last idea is to write a singleton on which I will save the TabHost > instance. Thus it should be accessible from any sub activities by > instanciating the singleton... > > I will try... > > On 24 fév, 21:06, Mark Murphy <[email protected]> wrote: > > > ColletJbwrote: > > > No demo code available ? > > >http://github.com/commonsguy/cw-android/tree/master/Fancy/Tab/ > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://twitter.com/commonsguy > > > Android App Developer Books:http://commonsware.com/books -- 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 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.

