开发者

Android. How to package a file and then ::fopen it from JNI?

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"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜