I think I have exactly the same probleme...
The Androidmanifest file shows :
<provider android:name=".MyProvider"
android:authorities="com.myPackage.provider.MyClass"
/>
(MyProvider exetends ContentProvider)
but the "onCreate()" methode of "MyProvider" is never called so my
database is never created...
Is there something I forgot... ?
I've also followed the example from the notePad project.
On 8 jan, 14:55, "Inderjeet Singh" <[email protected]> wrote:
> Thanks, that helps.
> How do I find out what all content providers are registered and who has
> ability to access them?
>
> Thanks
> Inder
>
> On Wed, Jan 7, 2009 at 9:50 AM, Dianne Hackborn <[email protected]> wrote:
> > It is backwards, android:name is the class name (like all of the other
> > manifest components). The android:authorities is one or more URI
> > authorities for the name of your content provider... which means it should
> > NOT be anything like "com.google.*" since that namespace is owned by Google.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---