Hi, I need help with android contacts.
So what I want to do is get my contact list programatically, and obtain everybodys phone numbers and maybe store them in an array, and this includes ALL the numbers for each contact, stored into one array. What I have done so far is use the ContactsContract class because the People is deprecated, and am querying the contentresolver for the contact id. Using the id, i am trying to obtain the phone numbers, but im not sure how. I have tried querying it again using the Cursor, but my app crashes
Thanks!
So what I want to do is get my contact list programatically, and obtain everybodys phone numbers and maybe store them in an array, and this includes ALL the numbers for each contact, stored into one array. What I have done so far is use the ContactsContract class because the People is deprecated, and am querying the contentresolver for the contact id. Using the id, i am trying to obtain the phone numbers, but im not sure how. I have tried querying it again using the Cursor, but my app crashes
Thanks!
