How to Create an Intent to Open a New Activity/Screen

1. Create a new Android project, if you don't already have one.

2. Create a new Activity called NewActivity.java in the src/com/YourApp/ directory.

3. Create a new XML file called newactivity.xml in the YourApp/res/layout directory.

        <activity
            android:name=".NewActivity"
            android:label="NewActivity" >
       </activity>

4. Add the new activity to the AndroidManifest.xml file.

5. In the MainActivity.java file, in the onCreate method, Create a New Intent object named myIntent.

         Intent myIntent = new Intent();

6. Add the below bold highlighted code to the onCreate method you would like to open the activity. The example below opens the NewActivity.java file from the MainActivity.java file.

myIntent = new Intent(this, NewActivity.class);

7. Compile and run!

8. The above will only create the Intent, to actually start the Activity, chose one of the below options.

Next Recommended Article: startActivity or startActivityForResult

  putExtra - Send Data to another Activity upon Opening

Resources:
http://stackoverflow.com/questions/4186021/how-to-start-new-activity-on-button-click