Thread: activity error
View Single Post
  #5 (permalink)  
Old December 22nd, 2011, 09:24 PM
Cliff2310 Cliff2310 is offline
Authorized User
Points: 343, Level: 6
Points: 343, Level: 6 Points: 343, Level: 6 Points: 343, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Posts: 86
Thanks: 3
Thanked 5 Times in 5 Posts
Smile it works

The problem is in the manifest file. You need to add the following:
Code:
         // new activity 2
        <activity
             android:label="Activity 2"
             android:name ="Activity2" 
         > 
            <intent-filter >
                <action   android:name="com.Android.ACTIVITY2" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity
after the end of the first activity and before the </application>.
around line 20.
Cliff
__________________
"Software to the Stars"
Failure is not an option. It comes bundled with your Microsoft products.
Reply With Quote