Retrieving image from SQLite Database (BLOB data type)

I have tried to retrieve the byte[] from my SQLite DB using the code: public byte[] getImageData() throws SQLException{ SQLiteDatabase db = this.getReadableDatabase(); Cursor cursor = db….