E
E
emigrantdd2014-09-13 14:29:09
Java
emigrantdd, 2014-09-13 14:29:09

How to get a list of contacts in a service on Android?

There is an example of a service that periodically performs some actions, I can’t find a class that could receive a list of contacts or at least one contact from all. I tried a lot of things and the same with receiving SMS, it constantly displays 0 value. Does anyone have an example of how this can be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
anyd3v, 2014-09-13
@anyd3v

Provide the code that gets the list of contacts and the list of permissions in the manifest.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question