If i have an activity which has one intent-filter as

android:mimeType="vnd.android.cursor.item/contact"
......

And in the activity if i call getData() on the intent of the activity.

What will i get?
How does android execute this request?


>getType() on ContentProvider.

You mean,
 When ever android needs to match MIME type to URI.
It goes through all content provider's getType and compare the
strings.

Correct me if i am wrong.



On Nov 26, 5:40 pm, Mark Murphy <[email protected]> wrote:
> On Fri, Nov 26, 2010 at 4:21 AM, Pink <[email protected]> wrote:
> >  How does mapping done between MIME and CONTENT_URI?
>
> getType() on ContentProvider.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 2.2 Programming Books:http://commonsware.com/books

-- 
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