Chapter 6 - Content Sharing - Exercise

Manifest.permission.READ_CONTACTS indicates the permission to read phone numbers. ( )
B. Wrong

Content Resolver ContentResolver is a tool for client App to operate client data. ( )
B. Wrong

The tag name of the content provider declared in AndroidManifest.xml is contentprovider. ( )
B. Wrong

As long as the insert method of ContentResolver is called once, a piece of contact data can be written to the address book. ( )
B. Wrong

MediaStore.Images.Media.DATA saves the path of the image file in the media library. ( )
A. Yes

ContentProvider is an intermediate interface and does not directly save data. ( )
A. Yes

Call the getContentResolver method in the activity code to obtain an instance of the content resolver. ( )
A. Yes

Content Observer ContentObserver can obtain new data in real time. ( )
A. Yes

The data returned by the getUriForFile method of FileProvider is of type ( ).
D.Uri

Which of the following is not a component of the content component? ( )
A.FileProvider

App needs to apply for ( ) permission to read text messages.
A.READ_SMS

content://mms is the content path of ( ).
C.MMS

The file extension of the Android App installation package is ( ).
B.APK

Guess you like

Origin blog.csdn.net/Qian280101/article/details/131348465