I have just joined the Android World and am lovn it, however having a bit
of trouble with some of the tutorials, in particular the Hello Tab Widget
one.  Particular part states
"Notice that this doesn't use a layout file. Just create a TextView, give it
some text and set that as the content. Duplicate this for each of the three
activities, and add the corresponding <activity/> tags to the Android
Manifest file."  I think this is where I am going wrong, I don't fully
understand how to add "the corresponding <activity/> tags in manifest
file".  see below for my code what have I done (or not done).

My app now doen't display errors but will not run it shows the following
error

 " The appication HelloTabWidget (process Tab.Widget) has stopped
unexpectedly......"






<?xml version=*"1.0"* encoding=*"utf-8"*?>

<manifest xmlns:android=*"http://schemas.android.com/apk/res/android";
*

package=*"Tab.Widget"
*

android:versionCode=*"1"
*

android:versionName=*"1.0"*>

<uses-sdk android:minSdkVersion=*"3"* />

<application android:icon=*"@drawable/icon"* android:label=*
"@string/app_name"*>

<activity android:name=*".HelloTabWidget"*

android:label=*"@string/app_name"
*

android:theme=*"@android:style/Theme.NoTitleBar"*>

<intent-filter>

<action android:name=*"android.intent.action.MAIN"* />

<category android:name=*"android.intent.category.LAUNCHER"* />

</intent-filter>

</activity>

<activity android:name=*".AlbumsActivity"*

android:label=*"@string/app_name"*>

<intent-filter>

<action android:name=*"android.intent.action.MAIN"* />

<category android:name=*"android.intent.category.LAUNCHER"* />

</intent-filter>

</activity>

<activity android:name=*".ArtistsActivity"*

android:label=*"@string/app_name"*>

<intent-filter>

<action android:name=*"android.intent.action.MAIN"* />

<category android:name=*"android.intent.category.LAUNCHER"* />

</intent-filter>

</activity>

<activity android:name=*".SongsActivity"*

android:label=*"@string/app_name"*>

<intent-filter>

<action android:name=*"android.intent.action.MAIN"* />

<category android:name=*"android.intent.category.LAUNCHER"* />

</intent-filter>

</activity>

 </application>

</manifest>

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

Reply via email to