No, the authority must be unique.  That is why the documentation says to use
a fully-qualified name for the authority, so it won't accidentally conflict
with another app.  If when installing your app there is already another
installed app using the same authority as one of your providers, the
installation will simply fail.

MIME types are a totally different thing, used to determine the activity or
other component that can interact with a particular content: URI.

On Thu, Nov 25, 2010 at 10:45 PM, Pink <[email protected]> wrote:

> Hi,
>
>   Can i override already existing content provider
>   by implementing another ContentProvider with same authorty?
>
>   If that is the case.
>   How can android system decides ContentProvider to handle data
> requests?
>
>   What is typical usae of MIME type?
>
>   We maintain unique URI for each Data.
>   Then why do we need MIME type again?
>
>   Is not CONTENT_URI enough for all requests?
>
>   If it is not the case.
>   Can you give me some example, where MIME play it's unique role?
>   Intent-filter are able provide information about URI as well as
> MIME type.
>
>
>   Thanks in advance.
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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