Thursday, December 23, 2010

[android-developers] About "?" in a URI

Dear Dudes,
I've got an URI when I debugged the Contacts application. When the
application queries the contacts, it uses a URI like "content://
com.android.contacts/contacts?address_book_index_extras=true".
And if I query with this URI from an application based on SDK. It will
throw an exception like this,
"java.lang.UnsupportedOperationException: Only CrossProcessCursor
cursors are supported across process for now". But if the URI is
"content://com.android.contacts/contacts", it works well.
Can anyone show me what does the "?" mean here? And what's the
difference between the two queries by each URI?
Thanks very much!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment