Skip to content

Instantly share code, notes, and snippets.

@mstefanko
Created March 28, 2011 13:26
Show Gist options
  • Save mstefanko/890441 to your computer and use it in GitHub Desktop.
Save mstefanko/890441 to your computer and use it in GitHub Desktop.
Call a given number using Android Intent
//Present you with the dialler
Code: Select all
Uri telUri = Uri.parse("tel:100861");
returnIt = new Intent(Intent.ACTION_DIAL, telUri);
// Start the call
Code: Select all
Uri callUri = Uri.parse("tel:100861");
returnIt = new Intent(Intent.ACTION_CALL, callUri);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment