Jun 11, 2010
I am trying to search for a particular contact number in call log and in contact book of the android phone. But I found that the contact number are stored in different way in contact book and call log. For e.g. I have a contact number 9889880912 to search in the call log and contact book. To do this, I do the following: add a contact in the android emulator. When i write the contact number for the contact as 9889880912 , it automaticlly gets changed to 988-988-0912 The dash sign (-) are automatically inserted in the contact number. I saved the number. Make a call to this number from the emulator. Now, using my code, when I am searching for a contact number in contact list by 9889880912,it shows no result when I am trying to search by contact number 988-988-0912 , the contact information from contact book is displayed. However, when I am trying to search for 988-988-0912 in call log history, it is displayed. but when I am trying to search for 9889880912 in call history , I get no result. How can I get the contact search by 9889880912 in contact book.
View 1 Replies