Issues with Android TabHost Example

Posted by kevindtimm on Stack Overflow See other posts from Stack Overflow or by kevindtimm
Published on 2010-02-05T18:26:00Z Indexed on 2010/03/19 8:51 UTC
Read the original article Hit count: 1091

Filed under:
|

I have been attempting to implement the 'advanced' tabwidget example from google. But, when it tries to call tabHost.addTab(spec); I get a stack trace from the debugger. Sorry, I don't have the stack trace here, but I'm wondering if others have had this same issue (as this code had a number of typo's and missing information that stopped me from even compiling.

Can anyone point me to a corrected/running version of this code?

The updated information needed are:

<activity android:name=".ArtistsActivity"></activity>
<activity android:name=".AlbumsActivity"></activity>
<activity android:name=".SongsActivity"></activity>

© Stack Overflow or respective owner

Related posts about android

Related posts about tabhost