我在 HTC EVO 4G LTE (Android 4.0.3) 上阅读提醒时遇到问题。代码:
1 | Uri uri = CalendarContract.Reminders.CONTENT_URI;
2 | Cursor c = cr.query(uri, null, null, null, CalendarContract.Reminders._ID + " ASC");
Stack trace:
at android.os.Parcel.readException(Parcel.java:1338)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:182)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:136)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:406)
at android.content.ContentResolver.query(ContentResolver.java:315)
at bla.bla.SomeClass.somefunction(SomeClass.java:2)