在android中,如何在ContentProvider授权后列出所有表?

在android中,如何在ContentProvider授权后列出所有表?,android,android-contentprovider,Android,Android Contentprovider,正如我在标题中的问题。我想显示ContentProvider授权后存在的所有表 例如:content://my_authority_path/ 有如下URI: content://my_authority_path/Keys/ content://my_authority_path/Passwords/ 但是,我不知道这些URI,只知道权限。那么,如何知道授权后有多少URI呢? 我已经通过谷歌做了搜索,但到目前为止没有结果。我希望能看到一些代码作为示例 非常感谢您的评论您指的是什么表格?记住

正如我在标题中的问题。我想显示ContentProvider授权后存在的所有表

例如:content://my_authority_path/

有如下URI:

content://my_authority_path/Keys/

content://my_authority_path/Passwords/
但是,我不知道这些URI,只知道权限。那么,如何知道授权后有多少URI呢? 我已经通过谷歌做了搜索,但到目前为止没有结果。我希望能看到一些代码作为示例


非常感谢您的评论

您指的是什么表格?记住ContentProvider是通用接口,不必使用任何sql数据库。我的问题不清楚。我更新了更多的内容。你能再读一遍并给我你的意见吗?ContentProvider不宣传它的路径结构,它可以是任何东西,这取决于ContentProvider设计器,但是在某种类/接口中公开它的URI是一种好的做法。你能更清楚地解释一下吗?我使用Drozer的命令是:run scanner.provider.finduris-一个包名,它生成可访问或不可访问的URI。content://com.mwr.example.sieve.DBContentProvider/Keys/ content://com.mwr.example.sieve.DBContentProvider/Passwords content://com.mwr.example.sieve.DBContentProvider/Passwords/ 我想知道为什么Drozer能做到?如果可能的话,我想用程序来做。对不起,我不知道Drozer是什么。。。