Google Glass GDK是否支持Intent.ACTION_CALL?

Kev*_*vin 5 android google-glass

我正在尝试在Google Glass上运行Android应用程序来拨打电话.这是调用intent的代码:

String uri = "tel:+44....." ;
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse(uri));
startActivity(intent);
Run Code Online (Sandbox Code Playgroud)

这引发了以下异常.

09-26 21:57:05.880: E/AndroidRuntime(4995): FATAL EXCEPTION: main
09-26 21:57:05.880: E/AndroidRuntime(4995): android.content.ActivityNotFoundException: 
   No Activity found to handle Intent { act=android.intent.action.CALL dat=tel:xxxxxxxxxxxxx }
09-26 21:57:05.880: E/AndroidRuntime(4995): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.CALL dat=tel:xxxxxxxxxxxxx }
Run Code Online (Sandbox Code Playgroud)

我的玻璃是蓝牙连接到我的手机,我可以通过"OK Glass,拨打电话......"命令拨打电话.我错过了什么,或者这个意图目前不支持Glass?

Ala*_*ain 1

这似乎是一个尚未启动的 GDK 相关问题,请随时在我们的问题跟踪器上提交功能请求,我们将相应地更新该错误。