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. Where can I find information about sending/receiving MMS messages, and receiving MMS notifications?

I'm trying to write an app that interfaces with a PC to allow sending
and receiving MMS using the phone, but I'm having a hard time finding
any documentation.

I can query the content provider to see and delete existing messages.
However, I am not sure how to send new messages, receiving
notifications when they are sent and delivered, or receive
notifications when a new MMS is received.

How do I programmatically send an MMS? Can I do this by inserting a
new message through the content provider? I need to do it in a way
that gives me access to the message (PDU?) ID so I can later access
the message information through the content provider, like I do for
existing messages.

How can I get notifications when this MMS is sent? When it's
delivered?

And how can I be notified when a new MMS is received? Again, I'd like
to know the ID of the new message so I can query the content provider
for the details in the same way.

This seems like it would be fairly straightforward, but I've been
looking for a while and can't find any information on it. I know the
MMS application somehow manages most or all of those things, but it's
a huge app, and I'd rather not try to "reverse engineer" it if there's
an alternative.

Even if this feature is not currently officially supported, I'll be
happy to have my app run on specific devices; I don't need a guarantee
that it will always work on any future Android phone.

-- 

2. any idea to get control for setting the default launcher app through programming

Guys,

Do you have any idea to get control for setting the default launcher app
through programming?


Please suggest your views on this problem.

-- 
thanks
Dev

-- 

3. Portrait and Landscape layouts

4. Android HAL code debug

5. ActiveRecord schema for Android

6. How to delete...?

7. pop on google map