exam questions

Exam AND-401 All Questions

View all questions & answers for the AND-401 exam

Exam AND-401 topic 1 question 99 discussion

Actual exam question from AndroidATC's AND-401
Question #: 99
Topic #: 1
[All AND-401 Questions]

Which of the following is NOT true about a content provider?

  • A. It manages access to structured data.
  • B. It cannot be used from inside an Activity.
  • C. It facilitates access to Android’s SQLite databases.
  • D. To access data in it, method getContentResolver() of the application’s Context is used.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
You can access data in a content provider, even if you don't have the proper access permissions, by sending an intent to an application that does have the permissions and receiving back a result intent containing "URI" permissions. These are permissions for a specific content URI that last until the activity that receives them is finished.
Incorrect:
A: A content provider manages access to a central repository of data.
References:
http://developer.android.com/guide/topics/providers/content-provider-basics.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Mmadi
1 year, 12 months ago
B. It cannot be used from inside an Activity.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago