Activities inside TabAcitivity are not "true" acitivities, and so have some limitations that I noticed. And of course, no documentation about that: * you can't bind to a service, onServiceConnected will never be called. * window features (only available in the TabActivity). * you can't use most of the manifest properties such as the launch flags, and so you can not send intents to an activity inside a tab even in singleTop launch mode, a new activity in full screen will be launched if you try. There must be some other limitations, I don't tested all.
What I tried and is working: * Life cycle methods * Menu methods (call super each time when overriding panel menu methods if you want to mix menu items with TabActivity). * startActivity methods. On Nov 23, 2:05 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > g1bb wrote: > > Gotcha, but how do I define activityGroup as a LocalActivityManager? > > (I assume that's what it's wanting) > > If you're not subclassing TabActivity, can you? If the docs are right, > that should clear up your problem. Since TabActivity inherits from > ActivityGroup, my guess is that the docs are probably correct -- if you > inherit from TabActivity, it might "just work". > > If you feel you can't subclass TabActivity for some reason, maybe we can > work to fix that problem -- what is holding you back? > > If you're adamant about not subclassing TabActivity, I'm not sure how > you'd make this work, though that doesn't mean it can't be done. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---