[英]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.