Open xiandanin opened 5 years ago
http://dyhdyh.com/posts/android-assetfile.html
https://github.com/dengyuhan/AssetFile 如果想跳过直接看文档,可以拉到最底前言平时开发中经常会用到Assets,可以让我们把一些资源内置在应用里,但是它使用起来比较麻烦,比如要使用Assets里面的一个文件,需要这样: 12345try { final InputStream stream = getAssets().open("
http://dyhdyh.com/posts/android-assetfile.html
https://github.com/dengyuhan/AssetFile 如果想跳过直接看文档,可以拉到最底前言平时开发中经常会用到Assets,可以让我们把一些资源内置在应用里,但是它使用起来比较麻烦,比如要使用Assets里面的一个文件,需要这样: 12345try { final InputStream stream = getAssets().open("