如何用假标识符拨打电话?

How to make a call with a fake identifier?

我想给接听者打电话显示另一个号码到当前,只是现在我打电话,我需要将显示给接听者的姓名或号码作为参数传递

Intent intent = new Intent();
intent.setData(Uri.parse("tel:1645"));
intent.setAction(intent.ACTION_CALL);
startActivity(intent);

这甚至与 Android OS 无关。 跟GSM设置有关,在SIM卡里面有芯片。

过了这么久,我添加了问题的解决方案。

 Intent intent = new Intent();
intent.setAction(intent.ACTION_CALL);
        intent.setData(Uri.parse("tel:600"));
        intent.putExtra("account", 0);
        startActivity(intent);

请注意,该设备处理了多个电话帐单,因此该代码无效