标签: android-contentresolver
我正在尝试获取邮件的内容。以下代码适用于Android 2.3.6,但在4.3。
Uri uriSms = Uri.parse("content://sms/inbox"); receivedSmsCursor = getContentResolver().query(uriSms, null, "date>?", new String[]{String.valueOf(today.getTimeInMillis())}, strOrder);