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

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

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