[英]Google Glass: How to Launch Contact Application on Google Glass
我正在尝试通过以下方式在Google Glass上启动Contact Application。
意图意图=新意图(Intent.ACTION_PICK,ContactsContract.Contacts.CONTENT_URI); startActivityForResult(intent,PICK_CONTACT);
它提供了ActivityNotFoundException。
如何在Google Glass上启动Contact Application
不幸的是, android.permission.READ_CONTACTS
不在可用的GDK许可中 。 这以及GDK上不提供“联系人提供程序”的事实是您例外的原因。
如果您认为有此需要,请在Google Glass Issue Tracker上提出功能请求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.