tatman wrote:
> I got the debugger attached and in the debugger I
> see the exception "RuntimeException, Your content must have a TabHost
> whose id attribute is 'android.R.id.tabhost'
> 
> I have set the id of my tabhost element to tabhost.

That's not what the error said.

The error says "Your content must have a TabHost whose id attribute is
android.R.id.tabhost". You have a TabHost whose id attribute is
"@+id/tabhost". Those are not the same.

Use "@android:id/tabhost" instead, which is the XML equivalent of
"android.R.id.tabhost".

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

_Android Programming Tutorials_ Version 1.0 In Print!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to