我想知道是否有任何方法来拨打电话在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.
上一篇:prevent Android的UI缩放缩放、prevent、Android、UI
下一篇:如何以编程方式在.NET中的Active Directory域和信任添加UPN后缀?后缀、方式、NET、Active