I am an Android Developer

Friday, July 16, 2010

Phone a telephone number via intent in Android

//Present you with the dialler
Uri telUri = Uri.parse("tel:100861");
returnIt = new Intent(Intent.ACTION_DIAL, telUri);

// Start the call
Uri callUri = Uri.parse("tel:100861");
returnIt = new Intent(Intent.ACTION_CALL, callUri);

No comments:

Post a Comment