I'd recommend putting the full class name (including the full package
name) in the android:name attribute. I don't know if that's it, but it
can't hurt.

JBQ

On Fri, Jan 16, 2009 at 11:30 PM, Tim Bray <[email protected]> wrote:
> I've written a ContentProvider, stealing heavily from NotePadProvider, I've
> got the <content> in the manifest,
>
> <provider android:name="StoryProvider"
> android:authorities="com.example.writer.Story" />
>
> Its CONTENT_URI is com.example.writer.Story/chapters, then when I try to use
> to use that in a managedQuery(), the cursor comes back null and in the
> logcat it says
> E/ActivityThread( 5236): Failed to find provider info for
> com.example.writer.Story
> And indeed, the ContentProvider's  query() is not getting called.
> So, any advice on where to go rooting around?  Is there a list of all the
> available ContentProviders out there?  What stupid things commonly done by
> n00bs prevent a ContentProvider from being found?
> Any advice gratefully welcomed.  Next step, a plunge into the Android
> source. -Tim
>
> >
>



-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to