I can't seem to find out how a MIME type is found.  For instance, say
I want my application to bring up Contacts.  Where can I find the MIME
type for that task?  I currently have the following:

Intent intent = new Intent();
intent.setAction(Intent.ACTION_GET_CONTENT);
intent.setType("*/*");

Intent newIntent = Intent.createChooser(intent, null);
startActivityForResult( newIntent , SHOW_VERIFY_ACTIVITY );



And the wildcards work.  But I would like to be more explicit.  Like
the following:

intent.setType("vnd.android.cursor.item/contacts");

...but is not valid.

Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to