2

I have button in my Android app to call a desired phone number.

I want to hide this number from callers call log (Yes, I want to hide it from displaying androids call log) is there any possible way for me to display calls made by my app as strings (Eg. if you call 12345678; i want to display it as "my numb")

This is my current code to make the call

public void callUsNow(View v) {
    Intent callIntent = new Intent(Intent.ACTION_CALL);
    callIntent.setData(Uri.parse("tel:1234567890"));
    con.startActivity(callIntent);
}

Could anyone suggest on this?

Thanks.

4

1 回答 1

0

不。

如果您通过调用传递 Intent Intent.ACTION_CALL,则在con.startActivity(callIntent)其他活动将对其进行控制之后。

于 2018-10-13T12:41:13.193 回答