Android 应用中拨打电话

来源:互联网 发布:怎么看淘宝注册时间 编辑:程序博客网 时间:2024/04/25 16:16

try {
2   Intent intent = new Intent(Intent.ACTION_CALL);
3   intent.setData(Uri.parse("tel:+110"));
4   startActivity(intent);
5catch (Exception e) {
6   Log.e("SampleApp""Failed to invoke call", e);
7}

原创粉丝点击