I followed the instructions at
http://code.google.com/android/devel/data/contentproviders.html
and also followed the NotesPad sample for creating my ContentProvider.
However, I can not figure out where exactly the NotePadProvider class
is registered to be the ContentProvider for the specified Content
URI.
The Android manifest file has this line:
<provider android:name="NotePadProvider"
android:authorities="com.google.provider.NotePad"
/>
I presume that the android:name here has nothing to do with the class
name, but android:authorities point to a valid class name. However,
the NotePad class makes no reference to NotesPadProvider.
Can someone enlighten me on how to register my content provider with
Android system?
Thanks
Inder
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---