1.意图代码
String tel = "13800000000";
Intent intent = new Intent();
intent.setAction("android.intent.action.CALL");
intent.addCategory("android.intent.category.DEFAULT");
intent.setData(Uri.parse("tel:"+tel));
startActivity(intent);
2.权限设置
<uses-permission android:name="android.permission.CALL_PHONE"/>