First, thanks for your quick answer. Second, I am using SDK 1.5 therefore I am using Contacts.Phones.NUMBER_KEY. Third, Contacts.Phones.NUMBER is not normalize and include chars like ( and - and I want to compare between number I hold and number in the contact list -Z
On Jan 3, 10:45 am, Sarwar Erfan <erfanonl...@gmail.com> wrote: > Firstly, Contacts.Phones.NUMBER_KEY is deprecated. > Secondly, why do you need this value? This is not the phone number, but the > "normalized" phone number. > If you want the phone number in the way you have your code, use > Contacts.Phones.NUMBER > > Anyways, I would suggest you not to use deprecated elements unless you are > targeting older phones. > > Regards > Sarwar Erfan -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en