bah!  nested provider under <manifest> when it should have been nested
under <application>.

On Dec 6, 12:37 pm, jetaber <[EMAIL PROTECTED]> wrote:
> I am trying to follow the NotePad example in order to build a utility
> which will retrieve the geolocation of the phone, convert the location
> to other useful formats, and then store the location data in a db
> table so that other apps can use the different location formats.  I am
> unable to figure out the content provider portion of my code.  I
> looked at notepad and some other examples and I cannot figure out
> where I am going wrong.  I am getting an error in my lag that states:
> "Bad element under manifest <provider>."  Here is the code from
> the .xml:
>
> <provider class=".AndroidGeolocationToolProvider"
>    android:name="AndroidGeolocationToolProvider"
>    android:authorities="android.geolocation.provider.GeoTable">
> </provider>
>
> However, Eclipse does not show any error in the syntax of the element.
>
> I placed a log out statement in the OnCreate() method in the Provider
> class that I wrote and that never gets printed.  I assume that this is
> at the heart of my later "failed to find provider" error since if the
> Provider never fires, then it would not be available.  Of course I
> could be completely wrong and at this point I would not be surprised.
>
> v/r
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to