Hi
When I run the following lines in my code, I get the error
java.lang.IllegalArgumentException: Unknown URL content://contacts
String[] PEOPLE_PROJECTION = new String[] {
Contacts.People._ID,
Contacts.People.NAME,
Contacts.People.NUMBER_KEY
};
____________________________________________________________
Cursor cursor = managedQuery(Contacts.CONTENT_URI,
PEOPLE_PROJECTION, null, null,
Contacts.People.DEFAULT_SORT_ORDER);
int name = cursor.getColumnIndex(Contacts.People.NAME);
Kindly help. When I remove the last line, I don't get the exception. But how can the URL mentioned there be unknown?

