Can I access files in "assets" like they were files located in ./ assets/ from my native code? When I shell into the emulator, I noticed that the files aren't pushed out to the /data/data/blah... folder with the library files.
-Mark On Feb 15, 11:27 am, JackN <[email protected]> wrote: > I put files into assetts folder. Are you referring to them correctly > > On Feb 15, 9:02 am, Mark Murphy <[email protected]> wrote: > > > > > > > > > On Wed, Feb 15, 2012 at 11:22 AM, Mark Winchester <[email protected]> > > wrote: > > > I've got some so files that I'm building from pre-existing code. I'm > > > trying to use it, as is, but I've run into a problem. The source > > > relies on two extraneous files that are expected to exist in the same > > > directory as the so. If I push the files to the correct location, > > > with the adb, everything works as expected. I thought that putting > > > the files in the "assets" folder of the project would work, but that > > > was not the case. Is there a way to add these files to the project, > > > so that they are installed with the libraries? > > > No. You can rewrite the pre-existing code in question to have a > > configurable location for the files. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > _Android Programming Tutorials_ Version 4.1 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

