跳至主要内容

博文

目前显示的是标签为“apk”的博文

android add a file to apk

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" )