[android-beginners] Re: Where's my ContentProvider

2009-01-06 Thread Mark Murphy
Faber Fedor wrote: I'm trying to build my first ContentProvider using the example in Mark's book A Busy Coder's Guide To Android Development (which I suggest other n00bs like me should read :-). Many thanks! My database is created; I can go in via the command line/SQLite interface and play

[android-beginners] Re: Where's my ContentProvider

2009-01-06 Thread Faber Fedor
On Tue, Jan 6, 2009 at 8:43 PM, Mark Murphy mmur...@commonsware.com wrote: Faber Fedor wrote: locationsCursor is alway null, nothing is displayed, and logcat complains E/ActivityThread( 387): Failed to find provider info for com.appspot.lbtdl That suggests either your provider is not

[android-beginners] Re: Where's my ContentProvider

2009-01-06 Thread Mark Murphy
Faber Fedor wrote: So the class name goes into the manifest. what is my CONTENT_URI then? I'm assuming it's content://com.appspot.lbtdl. Since I have a table called locations, I'll access all of the locations with content://com.appspot.lbtdl/locations, right? You can. There's nothing

[android-beginners] Re: Where's my ContentProvider

2009-01-06 Thread Mark Murphy
Faber Fedor wrote: What *is* magic is that there is a public static final Uri named CONTENT_URI, and that this Uri is the base Uri for your provider, and that it begins with content://. I must be missing something since that doesn't seem magical to me. Sorry. By magic I mean it