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