如何以编程方式列出android中的telephony.db中包含的所有表名

时间:2015-05-19 09:57:24

标签: android sqlite

我试图使用以下代码以编程方式从android mobile获取表名:

Cursor tableCursor = getContentResolver().query(Uri.parse("content://telephony/sqlite_master"),new String[]{"name"}, "type='table'", null,null);

但是我将tableCursor改为null。所以任何人都可以帮助我解决这个问题

android.provider.telephony.db is the default database in android mobile.

提前致谢

0 个答案:

没有答案
相关问题