三行代码:
Uri uri = Uri.parse("tel:" +num); Intent it = new Intent(Intent.ACTION_CALL, uri); startActivity(it);
num是要拨打的号码。