I'm almost there. Still I have a big problem and a possible bug: When I do a querry: querry="SELEC * FROM Thumbs WHERE fajl='b1.jpg' AND volume='ALPHA';" I'm getting 0 hits, although when I do the same querry in terminal, I have exactly 1 shot, as it has to be. Structure of table: Thumbs(fajl TEXT,volume TEXT,name BLOB,img BLOB) Is it a bug?