Rahul Varma Rahul Varma - 1 month ago 14
Android Question

In app calling without redirecting to Phone activity

I want to know if there is any method to make a phone call in Android without redirecting the uri to Phone Activity. To make a phone call,

String uri2 = "tel:678-547-9181";
Intent intent = new Intent(Intent.ACTION_CALL);

This was the code i was using earlier. But this redirects to phone activity and makes a call. But i dont want to reveal the phone number to the user. Is there any way that i can do this?

Answer Source

That is not possible from an SDK application, sorry.