Just pick a name that is in your own namespace.  It is the global name for
your provider.  It MUST be unique, and in a namespace you own.

On Sat, Aug 15, 2009 at 10:47 PM, venkat chowdhary <[email protected]>wrote:

>
> Many Thanks Jeff ...
>
> Sorry for asking too basic things ...
>
> I am uninstalled the ApiDemos/searchInvoke example. Now my application
> is launching.
> After launching, globla search is working but "Type-to-search"
> (basically local seacrh) is not working.
>
> Btw, What is
> android:authorities="com.example.android.apis.SuggestionProvider" ?
>
> I don't see any class with name SuggestionProvider in the Android
> examples ApiDemos, and what is the purpose of this class?
>
> If i need to prepare my own android:authorities, can you please please
> help me how to prepare?
>
> Thanks & Regards
>
> On 8/16/09, Jeff Sharkey <[email protected]> wrote:
> >
> > The installation error (INSTALL_FAILED_CONFLICTING_PROVIDER) told you
> > what was wrong.  You gave your provider the authority
> > "com.example.android.apis.SuggestionProvider" which was already being
> > used by another app on the system.
> >
> > Choose another authority so it doesn't conflict.  Usually one that
> > lives inside of your package space works best.
> >
> > j
> >
> > On Sat, Aug 15, 2009 at 6:00 AM, Venkat<[email protected]> wrote:
> >>
> >> Hi
> >>
> >> Please help me.
> >> I am adding search suggestion in my application. When i ran only
> >> AoiDemos/searchInvoke application, its worked fine. But when i am
> >> added the same code in my application its giving below error when
> >> starting application.
> >>
> >> 009-08-15 13:12:26 - MyApplication] Installing MyApplication.apk...
> >> [2009-08-15 13:12:38 - MyApplication] Application already exists.
> >> Attempting to re-install instead...
> >> [2009-08-15 13:12:54 - MyApplication] Installation error:
> >> INSTALL_FAILED_CONFLICTING_PROVIDER
> >> [2009-08-15 13:12:54 - MyApplication] Please check logcat output for
> >> more details.
> >> [2009-08-15 13:12:55 - MyApplication] Launch canceled!
> >>
> >> When i remove the below code from AndroidManifest.xml, application is
> >> lannching fine.
> >>
> >> <provider android:name=".search.SearchSuggestionSampleProvider"
> >> an.droid:authorities="com.example.android.apis.SuggestionProvider" />
> >>
> >> Can someone please help me how to resolve this issue?
> >> Thanks in advance.
> >>
> >> Thanks & Regards
> >> Venkat
> >> >
> >>
> >
> >
> >
> > --
> > Jeff Sharkey
> > [email protected]
> >
> > >
> >
>
> >
>


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