Jason Proctor wrote:
> can't shake that crash in TabHost.dispatchWindowFocusChanged(), 
> however. seems very convinced that mCurrentView is null. mCurrentView 
> comes from the tab spec's content strategy, i have two TextViews with 
> tab1 and tab2 IDs, nothing special, copied direct from your TabHost 
> example here --
> 
> http://markmail.org/message/uwzxl462daxr3t4e
> 
> i note others complaining about crashes in the tab stuff in that 
> thread. time to get 1.6 and see if that helps at all.

I can state positively that the layout shown there works on 1.5 and 1.6.
You can grab full projects with that layout from:

http://commonsware.com/Android/

(scroll down and click on the Source Code link in the Details section,
on the right side of the page)

Look at Fancy/Tab, Fancy/DynamicTab, and Activities/IntentTab as examples.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books.html

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to