I used this code:
Cursor c = cr.query(message, null, null, null, null);
startManagingCursor(c);
But startManagingCursor(c)
is a deprecated method. How can i replace it?
This method was deprecated in API level 11. Use the new CursorLoader class with LoaderManager instead; this is also available on older platforms through the Android compatibility package.
Check out this tutorial series.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With