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

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -