How to package a s开发者_如何学运维tatic file and then be able to ::fopen it from JNI?
I have read about res/raw/blah and R.raw.blah stuff, but when I install app on emulator and do "adb -e shell", cd /data/data/my_app/, ls, the file is not there.
I would like to do the same. The only thing I could think of was: copying the file onto the sdcard and read it from there "/sdcard/somefolder/somefile"
精彩评论