啟動撥號器

此示例顯示如何使用提供的電話號碼開啟預設撥號程式(定期呼叫的應用程式):

Intent intent = new Intent(Intent.ACTION_DIAL);
intent.setData(Uri.parse("tel:9988776655")); //Replace with valid phone number. Remember to add the tel: prefix, otherwise it will crash.
startActivity(intent);

執行上面程式碼的結果:

StackOverflow 文件