By Michael Burton

Part of Android Application Development For Dummies Cheat Sheet

You’ll use a few basic intents most of the time while developing mobile apps for Android. To save yourself some time, check out and remember the code for these several basic Android intents.

Intent Code
Start an activity startActivity(new Intent(this,
Destination.class));
Create a chooser Intent.createChooser(yourIntent, “Please
Select”);
Open the web browser Intent i = new
Intent(Intent.ACTION_VIEW,
Uri.parse(“http://example.org”));
startActivity(i);
Start activity for a result startActivityForResult(yourIntent,
YOUR_REQUEST_CODE);