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. Native IM Cyanogen

mantapp... ntar gw coba test ahhh... :D

Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to

To request to subscribe to this group, please visit the following page:

2. how to set wifi rate (enable 802.11G) on HTC hero G1

Dear experts: I am having a testing about ad hoc function for android
G1 phone, is there anybody can show me that how to configure the WiFi
rate, eg. under ubuntu platform, we can use iwconfig wlan0 rate 6.0M,
but for G1, I did not find this kind of way to configure WiFi rate.

Thanks and best regards.


3. Interleaving vertex data in OpenGL ES

4. Ellipsize attribute in 1.6???

5. how can I target api 1.6, but use packages from 2.0 (and safely)

6. HORE HERO udah bisa security OFF a.k.a unlocked SPL

7. sounpool problem