Making complex queries through SQLiteDatabase

Posted by Luca on Stack Overflow See other posts from Stack Overflow or by Luca
Published on 2011-01-01T13:16:38Z Indexed on 2011/01/01 13:54 UTC
Read the original article Hit count: 352

Hi! I'm using the Android MediaProvider application to get information regarding the resources registered in the media library. The only way I found to do this is to use the ContentProvider class provided by the MediaProvider application. Unfortunately, it seems to me this is quite a limitation, isn't it? Is it possible this way to create complex queries with subqueries and using other functions of SQLite? I thought that it may be possible using the SQLiteDatabase class, but it seems it is not possible to open the database directly with its path, and anyway, the query method seems not to allow subqueries. Any solution to this? Thanks!

© Stack Overflow or respective owner

Related posts about android

Related posts about contentprovider