[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 wrote: > On Tue, May 10, 2011 at 12:57 PM, Jim wrote: > > I am trying include a small data file with my package.  I need to pass > > the name of the datafile down

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

2011-05-09 Thread Droid
This works for a file on the SDCard: #include #include #include /* 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/ HelloJni.java */ jst