0

Usage for:

I want to show all contacts in on tab and in the other tab I want to show all groups. The user could select multiple contacts or groups.

Question:

Which is the best method to get the contact infos from the Android addressbook?

I want to get all person contacts and all groups.

EnriMR
  • 3,924
  • 5
  • 39
  • 59
Hugo Maier
  • 11
  • 1

1 Answers1

1

You can use StorIOContentResolver for that

storIOContentResolver
  .get()
  .cursor() // or listOfObjects()
  .withQuery(...) // Here you need to create a query to retrieve contacts info
  .prepare()
  .executeAsBlocking() // or createObservable()
Artem Zinnatullin
  • 4,305
  • 1
  • 29
  • 43