try { Intent intent = new Intent(Intent.ACTION_CALL); intent.setData(Uri.parse("tel:+110")); startActivity(intent); } catch (Exception e) { Log.e("SampleApp", "Failed to invoke call", e); }
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/11078.html