Reputation: 553
I am trying to launch Contact Application on Google Glass by:
Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI); startActivityForResult(intent, PICK_CONTACT);
It gives ActivityNotFoundException.
How to launch Contact Application on Google Glass
Upvotes: 0
Views: 75
Reputation: 1570
Unfortunately, android.permission.READ_CONTACTS
is not among the available GDK permissions. This, and the fact that the Contacts Provider is not available on GDK, is the reason for your exception.
If you see this as a need, please file a feature request on the Google Glass Issue Tracker.
Upvotes: 1