1

我正在尝试使用以下内容提供程序从 android 设备读取所有 SMS:

content://sms

这样:

context.getContentResolver().query("content://sms", null, null,null, "date DESC")

但光标在 android OS 版本 2.3.3 中返回 null。但相同的代码在 android 2.2 和 4.0 中运行良好。

我不明白是什么问题,可能是 Android 2.3.3 操作系统版本不支持“content://sms”内容提供程序,如果是,请告诉我找到 SMS 内容提供程序的正确方法是什么。

4

0 回答 0