您的位置:首页 > 编程语言 > Go语言

Google glass GDK - 拨打电话

2014-07-27 11:27 337 查看
Glass拨打电话和Android是不一样的,今天搜索了一番,测试成功

Intent intent = new Intent();
intent.putExtra("com.google.glass.extra.PHONE_NUMBER", "+8618666666666");
intent.setAction("com.google.glass.action.CALL_DIAL");
sendBroadcast(intent);


需要注意的就是号码前面+86(For China)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: