题目内容

在下列选项中,关于SQLiteDatabase的execSQL()没有涉及到的方法是()

A. 删除数据
B. 插入数据
C. 修改数据
D. 查询数据

查看答案
更多问题

若要实现对系统联系人的增删改查,需要使用的系统ContentProvider的Uri为( )。

A. Contacts.Photos.CONTENT_URI
B. Contacts.People.CONTENT_URI
Contacts.Phones.CONTENT_URI
D. Media.EXTERNAL_CONTENT_URI

在Activity中,获得ContentResolver对象的方法是( )

A. getContentResolver()
B. getResolver()
C. getContentResolvers()
D. getResolvers()

在下列选项中,关于ContentResolver的说法错误的是()

A. ContentResolver通过uri匹配到内容提供者
B. 通过ContentResolver可以在其它应用程序中访问内容提供者
ContentResolver的增删改查方法与目标内容提供者的增删改查方法是一一对应
D. ContentResolver不需要通过uri匹配到内容提供者

如果要调用现成的 ContentProvider,获得如下( )对象才能调用其方法进行增删查改。

A. CursorLoader
B. ContentResolver
Cursor
D. ContentProvider

答案查题题库