0

This is my first application in Android. I am trying to maintain a list of contacts (a subset of the phone contacts) in my own application. I was to an extent read the contacts from Android and try to manipulate with it. But the challenge I face is,

  • Storing the contacts (persisting) in the application preferably through Preferences. (ListPreference not usable for this).
  • I only need name, phone number and email from every contact and display it in a list view.

The equivalent iPhone version looks like this. But how to close achieve this in Android

enter image description here

Any tips on achieving the above is much appreciated.

bragboy
  • 34,892
  • 30
  • 114
  • 171

1 Answers1

1

If it is a subset of the phone contacts why don't you store in a SQLite table just the lookup-URI of the contacts you want to have in your subset? You can store both the contact lookup-URI and ID if you are worried about the performances of lookup-uri.

kingston
  • 11,053
  • 14
  • 62
  • 116