java - How to edit a resource file from within an android app? (Android Studio) -


i'm creating android app utilizes log. i've placed file entitled "log.txt" in "raw" resource folder. have figured out how open inputstream using openrawresource, not sure how open can use printwriter it.

i have tried accessing file pre-created on target device, have not succeeded.

if explain me either how open resource file printwriter, i'd appreciate it.

however not sure how open can use printwriter it.

you can't. resources read-only @ runtime. welcome use inputstream write copy of resource's contents file on filesystem (e.g., on internal storage), though.


Comments

Popular posts from this blog

database - How many Observations in SAS Sample Data Output -

emulation - Android map show my location didn't work -

ios - how to query based on pfobject/pfuser associated with another pfobject in parse.com? -