turns out I needed to add the nested activities (to be contained
inside the tabs) to the Android manifest.

Thanks Josh!

On Mar 25, 8:48 pm, garymm <[EMAIL PROTECTED]> wrote:
> I'm running into problems. Whenever I select a tab (be it with setting
> a default in onCreate or not but then clicking), I get a
> NullPointerException in TabHost$IntentContetStrategy.getContentView
>
> Any idea what's up? I wouldn't mind showing you my code if you'd be so
> kind as to take a look. I tried to copy you as much as possible, but I
> seemed to have messed up somewhere.
>
> On Mar 24, 12:18 am, Josh Guilfoyle <[EMAIL PROTECTED]> wrote:
>
> > I have created another, more sophisticated example which does not
> > hardcode the layout:
>
> >http://devtcg.blogspot.com/2008/03/advanced-tab-activity-demo.html
>
> > On Mar 13, 11:30 am, Muthu Ramadoss <[EMAIL PROTECTED]> wrote:
>
> > >http://www.jsharkey.org/blog/2008/02/14/android-tabhost-in-the-m5-sdk/
>
> > > On Mar 13, 1:57 pm, Ender <[EMAIL PROTECTED]> wrote:
>
> > > > Hi!
>
> > > > I was wondering if there is somebody who has already done something
> > > > with aTabActivityand/or could provide a short example of how to add
> > > > activities to aTabActivityand connect them totabs?
>
> > > > Regards,
> > > >     Ender
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to