[android-developers] Re: Can two application's content providers share one authority?
Any help????
On Nov 26, 2:21 pm, Pink <sivareddy.j...@gmail.com> wrote:
> Thanks for your response.
>
> >MIME types are a totally different thing, used to determine the
> activity or
> other component that can interact with a particular content: URI.
>
> How does mapping done between MIME and CONTENT_URI?
>
> Please give me a scenario if possible.
>
> On Nov 26, 1:34 pm, Dianne Hackborn <hack...@android.com> wrote:
>
>
>
> > 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 <sivareddy.j...@gmail.com> 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 android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscribe@googlegroups.com<android-developers%2Bunsubscribe@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
>
> > 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.- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home