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/3244.html
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/3244.html