Re: [android-developers] Adding extraneous files to APK?

2012-02-15 Thread Peeyush Varshney
Is it Apps specific? if it is common then you can keep into prebuilt folder
and do the changes in .mk file..

On Wed, Feb 15, 2012 at 9:52 PM, Mark Winchester 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?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Thank & Regards
Peeyush Varshney

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Adding extraneous files to APK?

2012-02-15 Thread Mark Murphy
On Wed, Feb 15, 2012 at 11:22 AM, Mark Winchester  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/commonsguy
http://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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Adding extraneous files to APK?

2012-02-15 Thread Mark Winchester
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?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en