How to insert a TabHost view inside a ViewFlipper ?

by DMT » Thu, 22 Apr 2010 13:40:52 GMT

Sponsored Links
 Folks, I was wondering if anyone has been able/knows how to include a
TabHost view inside a ViewFlipper view...

I've tried various ways to do this but keep getting a NulPtr exception
whenever the tabhost object is accessed at startup. It looks like
Viewflipper does exactly that : flips *view* objects. It knows nothing
directly of the concrete Java classes that are associated with the
views so the tab objects are always nulls.
Unfortunately, the tabhost needs to be data/object populated before it
is ever accessed, so this is the issue.
Is this analysis correct?

If so, is there any way around this? Or am I doing something wrong?
Thanks for any suggestions.


Other Threads

1. linux build instructions

sun-java5-jdk is not available through apt-get for Ubuntu Karmic, but
you can get it by adding a Jaunty sources.list line. It may be
helpful to put a link to this forum post
<> on the build
instructions page <>.

I see a message

2. Android Dev Phone upgrade to 2.0 (or 2.1)

Hey Guys,

I have an Android Dev Phone (from HTC) with 1.5 Platform installed. I
am trying to find out whether it is possible to upgrade to 2.0 or 2.1
(my interest is in Bluetooth Protocols which are only available from
2.0 onwards).

Based on the information provided on the HTC site (http:// ) upgrade to 1.6 is easy....but no other
information exists.

Does anyone have a clue?


3. Has Android2.1 source code been released and put in git?

4. Best practice for dealing with assets on different dpi devices?

5. Where can the user select different font-sizes?

6. Porting Dalvik in Eclair

7. ADP 2 availability Belgium