Hi there,

I am having a hard time understanding content providers.

In the notepad example and others, the content provider never even
declares its CONTENT_URI anywhere inside itself, yet the docs say to
publicly declare this.  It's declared in a different class.  So when
an activity queries a content provider with a CONTENT_URI, how does
Android know which one I want.  I see no link between a content
provider and its CONTENT_URI declared in another class.

I also don't how to think about intents and content providers.  I know
that you don't call an intent on a content provider.  But an activity
queries a content provider without an intent, and an activity has a
mimetype attribute in the manifest that would seem to tie it to a
content provider.

Can someone please help?

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