Accessing files under asset subfolder by Id or Name android studio -
i have 2 sub-folders under assets folder i.e 1 english , turkish contains respective .mp3 files. want know how access file places under these folders.
try code
inputstream = getassets().open("eng/file1.mp3"); bufferedreader br = new bufferedreader(new inputstreamreader(is)); string line = null; while ((line = br.readline()) != null) { //logic here } br.close();
Comments
Post a Comment