hello i am new to android. i have some problems reading contact numbers. i want to search all the numbers of people stored in contacts. but by using following code am just getting default numbers.
private static final String[] PEOPLE_PROJECTION = new String[] { Contacts.People._ID, Contacts.People.PRIMARY_PHONE_ID, Contacts.People.TYPE, Contacts.People.NUMBER_KEY, Contacts.People.LABEL, Contacts.People.NAME, Contacts.People.NUMBER }; cursor = content.query(Contacts.People.CONTENT_URI, PEOPLE_PROJECTION, null, null, Contacts.People.DEFAULT_SORT_ORDER); cursor.moveToFirst(); Actually i want to make smart search for numbers. Like if any one type 9 then it should show all the numbers starting from 9. can anyone help please its urgent. thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---