Reading Resource Files from my own APK in Android Native Environment

Posted by Kyle on Stack Overflow See other posts from Stack Overflow or by Kyle
Published on 2010-04-16T09:16:29Z Indexed on 2010/04/18 21:13 UTC
Read the original article Hit count: 378

I'm porting to Android. My existing project has a ton of resource files that I'm porting into my Android project. I have them all in /res/raw/, and I would like to access those resources in my native library with functions such as fopen() and such. Can this be done, or do I have to go through JNI for this as well? I would really prefer not to, for ease of porting and possible speed and memory reasons.

© Stack Overflow or respective owner

Related posts about android

Related posts about android-ndk