Hi,

I have the following code which queries 1 number of a contact. It works.
But how can I change it so that I can query multiple numbers (work,
mobile, home) for the same contact and the type of each number?

 int phoneColumnIndex = cursor.getColumnIndex(People.NUMBER);
                   if (phoneColumnIndex != -1) {
                                
                           String phoneNumber = 
cursor.getString(phoneColumnIndex);
                        
                           System.out.println (" phoneNumber:" + phoneNumber);
        }
}

Thank you.

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

Reply via email to