Android Studio

(Android Studio) 안드로이드 AssetFile 불러오기. 사용.

SAFE 2016. 11. 14. 13:01

출처 : http://evnt-hrzn.tistory.com/23


1
2
3
4
5
6
7
8
try {
    AssetManager assetMgr = getAssets();
    InputStream is = assetMgr.open("dna.png");
     
    // TODO: 
catch (IOException e) {
    e.printStackTrace();
}
cs