android从应用程序隐藏号码拨打电话
我在我的应用程序中,我想按一下按钮给某人打电话android从应用程序隐藏号码拨打电话,android,android-intent,Android,Android Intent,我在我的应用程序中,我想按一下按钮给某人打电话 iv_call.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { Intent callIntent = new Intent(Intent.ACTION_CALL); callIntent.setData(Uri.parse("
iv_call.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View arg0) {
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:593987424"));
startActivity(callIntent);
}
});
当用户单击按钮时,android操作系统启动呼叫。我可以隐藏电话号码吗,这样用户就看不到号码了
不,你不能。这是另一个应用程序,它决定是否显示号码。不可能。我们无法获得任何控制来修改拨号信息。