You say that you are getting the error:
android.database.sqlite.SQLiteException: no such table: images (code 1): , while compiling: SELECT tile_data FROM images LIMIT 0,1
You are getting this error, because you are trying to query a table called
images. The Mbtiles spec does not mention this table at all.
According to the MbTiles spec, the Mbtiles database has two tables:
tiles. It is the later table which contains the images for the tile.
This table is created with the following SQL command:
CREATE TABLE tiles (zoom_level integer, tile_column integer, tile_row integer, tile_data blob);
Your problem is due to querying for a table which is not mentioned in the specifications. I'll suggest that you have a look at the code of your application, and query the correct table.