android path to my file -


i'm using complex method (not written me) in android app, takes string parameter "path" , opens , parses file path. problem this: when set path file on sdcard (like this: environment.getexternalstoragedirectory()+"/myfile.txt" ) works fine. don't want file available user tried set path assets folder in project copied file, , using path won't work.the path used file in assets folder wast this: file:///android_asset/myfile.txt why first path works fine , second nothing?

thanks

you have use assetmanager access files in assets folder.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -