在应用程序调用,而不重定向到手机活动而不、应用程序、重定向、手机

2023-09-04 06:15:32 作者:碎花洋裙

我想知道是否有任何方法来拨打电话在Android中没有重定向URI来电话活动。要拨打电话,

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);
        intent.setData(Uri.parse(uri2));
        startActivity(intent);

这是code我使用更早版本。但是这种重定向到手机活动,并进行呼叫。但我不想透露电话号码给用户。有什么办法,我可以做到这一点?

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?

推荐答案

这是不可能的,从SDK应用程序,不好意思。

That is not possible from an SDK application, sorry.