Contact list permission

  • Replies:1
  • Forum posts: 2

Jul 15, 2017, 12:43:16 PM via Website

I am developing program that read from contact list.
When I Run the application I am receive exception

"ProcessRecord requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS"

I have added in AndriodManifest.xml file

And this not solve the problem .
Is there any idea to solve this problem?


Deactivated Account

  • Forum posts: 54

Jul 17, 2017, 10:33:41 AM via Website

Reading (and writing) contacts is in dangerous permissions list so to access that you have to ask for permission during runtime. It is not enough to add these lines on your manifest file. To know how to ask for permission during runtime, read here:
You can read more about dangerous permissions here:
If it won't work please post your AndroidManifest.xml and some code which reads the contacts so we can get better understanding about your problem.