I extend the ContentProvider to access SQLiteDatabase in my code, but I want to get real path from a content uri. So I use the method provided here
However since I extend the ContentProvider, when I call getContentResolver().query() I actually called the query() in the ContentProvider I extended. Where I use db.query() there to get data from SQLiteDatabase.
How can I implement the query function in ContentProvider to make it query Uri:MediaStore.Images.Media.DATA.
I tried to use super.query() , but query() is an abstract class.