2

I am looking to build a local Contacts list in Android. The user selects, say 3 contacts, from the address book and the code needs to save this list locally. The list should include Contact name, mobile number and email address. The user should also be able to edit this list. I am new to Android and struggling to get a solution for this.

The app I am building needs a user to create a local contacts list. I need to be able to extract the full contacts list from the Address Book and then the user gets to choose a limited number of contacts which get saved for later retrieval/modifications.

PeeHaa
  • 71,436
  • 58
  • 190
  • 262
kernal119
  • 175
  • 1
  • 3
  • 14
  • http://stackoverflow.com/questions/17256932/displaying-contact-number-and-contact-name-in-a-custom-list-view/17258014#17258014. check this if it helps. add row.xml with 2 textviews and 1 checkbox not shown in the code posted – Raghunandan Nov 11 '13 at 05:32
  • This is a sample of custom contact list implementation : https://github.com/alirezaeiii/Rebtel-Contacts-Clone – Ali Dec 11 '22 at 12:55

3 Answers3

0

try Retrieving a List of Contacts in Android Developer.

This link may helps you to retrive the contact list.

Basbous
  • 3,927
  • 4
  • 34
  • 62
0

Replace book objects with contact objects in the following tutorial and it might be useful...

http://stirfriedcode.blogspot.jp/2013/11/getting-specific-data-from-sqlite.html

stir-fried
  • 116
  • 6
-1

I tried a new workaround and adapter-free solution . It's worth to have a look at :

https://github.com/draxdave/ConstraintAccordion

enter image description here

Siamak
  • 1,689
  • 1
  • 17
  • 26