Writing binary data in a sqlite database Android's ContentResolver -


i'm reading sources android, , read this:

outputstream thumbout = mcr.openoutputstream(uri); bitmap.compress(bitmap.compressformat.jpeg, 85, thumbout); thumbout.close(); 

when trying store bitmap (bitmap) in database (uri uri of row in database). far can understand, openoutputstream allows store binary data in database, path of file placed in db. file placed somewhere in filesystem. correct? question is: how specify exact location of files when stored way? clarification.

i suppose correct answer question used path 1 inserted in database.


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -