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

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -