欢迎访问悦橙教程(wld5.com),关注java教程。悦橙教程  java问答|  每日更新
页面导航 : > > 文章正文

Android 应用中拨打电话,android拨打电话,try { Inte

来源: javaer 分享于  点击 24771 次 点评:178

Android 应用中拨打电话,android拨打电话,try { Inte


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);}//该片段来自于http://byrx.net
相关栏目:

用户点评