权限:
<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
android调用系统打电话功能:
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:xxxxxxxx"));
startActivity(intent);
权限:
<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:xxxxxxxx"));
startActivity(intent);