Reputation: 634
how to copy my text file in my app at (res/raw) folder from sdcard. thing about is not at stackoverflaw about copy a file from sdcard to my app. i am not getting anything else from Google so please help me a perfect answer.
Upvotes: 1
Views: 385
Reputation: 3215
May this help you:
Android .apk file
is Read Only.
So the directory structure which are in that apk file follows the same..
No one can write files or make changes at runtime as Assets folder are not Writable...
That's why You can't make any changes in /asset folder
at runtime...
We can only read file from it (means we can copy files which are available in asset
to any internal storage or /sdcard
but reverse of it is not possible).
Upvotes: 1