Android 拨打电话的代码

2015-01-09 0 335
Android 拨打电话的代码
 
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);
}
 

遇见资源网 java Android 拨打电话的代码 http://www.ox520.com/8320.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务