Hi Wenjie, Looks like a bug. I did not catch this because the contacts app and provider run in the same process. I have just filed a bug report and will research asap. Of course, until it's fixed this API cannot be used. Thanks for reporting.
Cheers, Dmitri On Dec 23, 2010 7:04 PM, "Wenjie" <[email protected]> wrote: > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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

