/** *打电话 * * @param tel * 电话号码 */ protected void call(String tel) { // 只进入拨号界面,不拨打 Uri uri = Uri.parse("tel:" + string); Intent intent = new Intent(Intent.ACTION_DIAL, uri); startActivity(intent); //直接拨打 Log.d(TAG, "call:" + tel); Uri uri = Uri.parse("tel:" + tel); Intent intent = new Intent(Intent.ACTION_CALL, uri); startActivity(intent); }