<intent-filter>
<action android:name="android.intent.action.GET_CONTENT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/vnd.google.note" /
>
</intent-filter>
How does the Android system know what the mimeType matches up to in
this intent filter? In this case mimeType refers to a content
provider, but how does Android know this?
<provider android:name="NotePadProvider"
android:authorities="com.google.provider.NotePad" />
I know that there is a content provider defined as well in the
manifest, but how does Android know that "vnd.android.cursor.item/
vnd.google.note" is a mimeType in an intent filter is somehow
connected to the NotePadProvider? I see nothing tying them together.
Thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en