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

javascript - Iterate over array and calculate average values of array-parts -

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -