startActivity - Start a New Activity using Action Chooser

public void startActivity (Intent intent) was added in API level 1
Same as startActivity(Intent, Bundle) with no options specified.
Parameters: intent - The intent to start.
Throws: android.content.ActivityNotFoundException

2. In the MainActivity.java file, add the code below to the onCreate method.

try {
    startActivity(myChooser);
} catch  ( ActivityNotFoundException e) {
     e.printStackTrace();
}