android - write private file to internal storage -


i trying write files on internal storage.

i saw thefileoutputstream fos = openfileoutput(filename, context.mode_private); on data storage , understood file private application.

but problem can open file without path, first opened new directory file file.mkdir(), now, how write file private ?

i saw thefileoutputstream fos = openfileoutput(filename, context.mode_private); on data storage , understood file private application.

correct. private default.

but problem can open file without path, first opened new directory file file.mkdir(), now, how write file private ?

your files create in subdirectories off of in getfilesdir() private default -- not have special make them private.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -