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. How to prevent one program to be overlaped by another

Hello. Is there any way of how to prevent e.g. incoming call screen
display during playing some game? Probably, some parameters can be
specified while starting activity which preventing any overlapping?
Thanks.

--~--~---------~--~----~------------~-------~--~----~

2. how to use rild on OMAP2430

hi 

v hav ported android on OMAP2430 hardware.
Can anyone tell me how to use the rild which is available. We tried to 
execute like 

rild -l  /system/lib/librild.so -p /dev/ttyS1

it just hangs. Can anyone help pls



warm regards,
Tejaswi.S.J.

Product Engineering Services
(Comm and EmSys SBU),
Larsen & Toubro Infotech Ltd,
Plot 25-30,
EPIP 1st Phase Industrial Area,
Whitefield,
Bangalore 560066.


This mail is classified as:
( )L&T Infotech Proprietary
( )L&T Infotech Confidential
( )L&T Infotech Internal Use Only
( )L&T Infotech General Business Information


Larsen & Toubro Infotech Ltd.
www.Lntinfotech.com

This Document is classified as: 

L&T Infotech Proprietary   L&T Infotech Confidential   L&T Infotech 
Internal Use Only   L&T Infotech General Business 

This Email may contain confidential or privileged information for the 
intended recipient (s) If you are not the intended recipient, please do 
not use or disseminate the information, notify the sender and delete it 
from your system. 

______________________________________________________________________
--~--~---------~--~----~------------~-------~--~----~

3. The use of Eclipse for android development

4. Secvuirty WebView-Webkit

5. To test the integrated codec

6. MapActivity / MapView causes application to crash at startup

7. Problems with HttpClient, HttpGet and HttpResponse ...