Intent() - How to a Create New Empty Intent object

Intent() was added in API Level 1
This will create an empty intent.

1. Open MainActivity.java file, and add the below import to the import section.

import android.content.Intent;

2. Add this line below to the onCreate method. This will create a new Intent named myIntent.

Intent myIntent = new Intent();

3. Compile and run!

Next Recommended Article:

Resources:
http://developer.android.com/reference/android/content/Intent.html#Intent()
developer.android.com/training/sharing/send.html