Hello there,

I just found this beginner's forum, which is clearly me.

Is there a very clear tutorial on content providers and intent filters
out there that's the "go to" one IF one can't really understand the
official Android docs one?  I've read it several times, slowly, and I
can't really wrap my head around it.  I need like visual pictures or
something.

In sample code, it seems like content providers should have a
CONTENT_URI that it exposes to the world.  But I don't see it.  I see
it instead in another class that calls the content provider, but
nowhere in the content provider itself.  It's in a class that's mainly
only got constants in it.  The content provider registers with the
manifest, but how does manifest link the constant CONTENT_URI if it's
defined outside the content provider class itself?

Then, there is this mime type, and I'm told that the CONTENT_URI is
unecessary most of the time.  The mimetype is all you need in order to
route an intent.  But intents do not apply to content providers.  But
intent filters have a mimetype which is associated with an intent, so
I'm basically confusing myself.

I'd appreciate some help, and yes I anticipate it taking multiple
replies :<

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

Reply via email to