Which Android permission you should add to allow your application to read the device’s address book?

Which Android permission you should add to allow your application to read the device’s address book?
A . READ_ADDRESS_DATA
B . READ_PHONE_STATE
C . READ_PHONE_CONTACTS
D . READ_CONTACTS

Answer: D

Explanation:

To do any type of search of the Contacts Provider, your app must have READ_CONTACTS permission. To request this, add this <uses-permission> element to your manifest file as a child element of <manifest>:

<uses-permission android:name="android.permission.READ_CONTACTS" />

References: http://developer.android.com/training/contacts-provider/retrieve-names.html

Latest AND-401 Dumps Valid Version with 228 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>