Can some body help me in retrieving all the Phones numbers (I mean if a contact has a home and cell phone) my code (below) does not get the Home number.
String[] s = new String [] {People._ID,People.NAME,People.NUMBER}; int[] names1 = new int[] {R.id.Name,R.id.Number}; int i=0; System.out.println(names1.length); String[] columns = new String[] {People.NAME, People.NUMBER}; Cursor c = getContentResolver().query (People.CONTENT_URI,s,People.NUMBER + "NOT NULL",null,null); 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 -~----------~----~----~----~------~----~------~--~---