public Cursor getImages(long rowId) throws SQLException { Cursor mCursor = db.rawQuery(\"select * from Pictures WHERE id=\" + rowId + \";
You should do it like this:
c1.getString(cursor.getColumnIndex("pic"));
and
c1.getString(cursor.getColumnIndex("comment"));