I am executing a query on the ContactsContract uri and I am not
getting any results when phone numbers are stored with (xxx)
333-3333.  What is the best way to have m results return numbers that
match ignoring separators?

Cursor phoneCursor =  mContentResolver.query(
                        cdkURI,
                        projection,
                        ContactsContract.CommonDataKinds.Phone.NUMBER + " = ?",
                        new String[] {incomingNumber},
                        null
                );

-- 
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

Reply via email to