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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -