Intent.createChooser - Create an Action Chooser Intent

public static Intent createChooser (Intent target, CharSequence title) was added in API level 1
Builds a new ACTION_CHOOSER Intent that wraps the given target intent, also optionally supplying a title. If the target intent has specified FLAG_GRANT_READ_URI_PERMISSION or FLAG_GRANT_WRITE_URI_PERMISSION, then these flags will also be set in the returned chooser intent, with its ClipData set appropriately: either a direct reflection of getClipData() if that is non-null, or a new ClipData built from getData().
Parameters:
target - The Intent that the user will be selecting an activity to perform.
title - Optional title that will be displayed in the chooser.
Returns a new Intent object that you can hand to Context.startActivity() and related methods.

1. Intent.EXTRA_SUBJECT - Create a Subject Line of a Message

2. In the MainActivity.java file, add the line below in the onCreate method. This create an action chooser intent named myChooser.

Intent myChooser = Intent.createChooser(mySendIntent, “Share to...”);

3. Compile and run!

Next Recommended Article: startActivty - Start a New Activity

Resources:
http://developer.android.com/reference/android/content/Intent.html#createChooser(android.content.Intent, java.lang.CharSequence)