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

Posted by GJ on Stack Overflow See other posts from Stack Overflow or by GJ
Published on 2010-03-04T08:38:52Z Indexed on 2010/03/29 12:33 UTC
Read the original article Hit count: 310

Filed under:

How to package a static 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.

© Stack Overflow or respective owner

Related posts about android