Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在不打开拨号器应用程序的情况下直接从我的应用程序拨打电话吗?
我需要从应用程序中拨打某些号码,但它不应该打开拨号器应用程序。
Intent out = new Intent(); out.setAction(Intent.ACTION_CALL); out.setData(Uri.parse("tel:" + Uri.encode("+456"))); startActivity(out); <uses-permission android:name="android.permission.CALL_PHONE"/>