KEY_INTENT);
        if (launch != null) {
            startActivityForResult(launch, 0);
            return;
        }
    }
}
</pre>

<p>Note that the example uses <code><a href="../../reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int)">startActivityForResult()</a></code>, so that you can capture
the result of the <code><a href="../../reference/android/content/Intent.html">Intent</a></code> by implementing <code><a href="../../reference/android/app/Activity.html#onActi