Skip to content Skip to sidebar Skip to footer

Android -passing Intents Between Activities

I need to pass the login details to another activity called AfterLogin via intents.bt when i run the following code it says that 'Sorry ! The application login has stopped unexpec

Solution 1:

Did you specify the 2nd activity you are using to the AndroidManifest.xml file ? By doing so, you'll let the system know that you are using it. see : http://developer.android.com/guide/topics/fundamentals/activities.html

Solution 2:

You need to add your activity in application section in AndroidManifest.xml:

<activity android:name=".YOUR_CLASS_NAME" android:label="LABEL_IF_NEEDED"/>

Post a Comment for "Android -passing Intents Between Activities"