posted 12 years ago
There is a form with 2 pages in it.When i click on next,it should go to next page,starting a new activity.but when i click on the button,android application stops working.please tell me what is the error in the code.
Mainscreen code
(Globalstate class is for saving the values so it could be retrieved from newly created activity)
android manifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="nithya.androidprojects"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="15" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".Mainscreen3Activity"
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="secondscreen"
android:label="secondscreen">
</activity>
</application>
</manifest>
please help me...thanks in advance
vinal