[android-developers] Re: Query People.CONTENT_URI by ID, return sql exception (very simple code with exception)

2008-03-23 Thread Diego Pino
If what you really want is to retrieve contact with id=1, you should provide an URI like "content://android.provider.people/1". People.CONTENT_URI provides you the first part of the URI ("content:// android.provider.people"). Then, you just need to add which ID you want with something like this:

[android-developers] Re: Query People.CONTENT_URI by ID, return sql exception (very simple code with exception)

2008-03-30 Thread Praline
Take a look at this post : http://groups.google.com/group/android-developers/browse_thread/thread/18021dbd0dcbf1ae -- Praline On Mar 23, 10:56 pm, Diego Pino <[EMAIL PROTECTED]> wrote: > If what you really want is to retrieve contact with id=1, you should > provide an URI like "content://android