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();
Next Recommended Article:
Resources:
http://developer.android.com/reference/android/content/Intent.html#Intent()
developer.android.com/training/sharing/send.html