Android - add files into APK package? - Stack Overflow
The assets/
folder in apk is intended to store any extra user files in any formats. They will be included to apk automatically on compilation stage and can be accessed from the app using getAssets()
function. For example:
final InputStream is = getResources().getAssets().open("some_file.xml")
It is even unnecessary to copy them to some local folder to read them.
Read full article from Android - add files into APK package? - Stack Overflow
No comments:
Post a Comment