關於AndroidStudio assets目錄的一些坑

1.新建assets目錄 2.在Activity中加載assets目錄中的圖片資源到bitmap InputStream inputStream= null; try { inputStream = getAssets().open("timg.jpg"); } catch (IOException e) { e.printStackTrace(); } bitmap= Bitma
相關文章
相關標籤/搜索