[android-developers] Re: where to put files to be read by jni native code

2011-05-10 Thread Droid
This works for a file on the SDCard: #include string.h #include jni.h #include stdio.h /* This is a trivial JNI example where we use a native method * to return a new VM String. See the corresponding Java source * file located at: * * apps/samples/hello-jni/project/src/com/example/HelloJni/

[android-developers] Re: where to put files to be read by jni native code

2011-05-10 Thread Jim
Thanks. Copying from the Assets file list to the sdCard solved my problem in the simplest way. On May 9, 9:07 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Tue, May 10, 2011 at 12:57 PM, Jim j...@harmonicsystems.net wrote: I am trying include a small data file with my package.  I