i have developed one android project,(it has some resource files,and jni part ,and also containing some external .so file) which i want to use in another android applications,
if i make a project as a library project i cant use the resource files in another project,so that i export my project as jar,in that jar containing all following folders
assets
bin
com/package containing all classes
libs/ all .so files
res
obj
META-INF
in my another application i put my jar file in lib folder and add to the project path
the problem is ,i cant access the class and .so files and resource from the jar.
and also i tried to put all so file in new project libs folder also.
i got unsatisfied link error,is’t possible to do this.or else do you have any idea?
NOTE: i don't want to add the project as Reference Project
First of All Android project doesn’t works as a Simple
.jarfile As you want to use resources from it.Only Way You have to make Android Project as an
Android Library Projectto use resources and.sofiles from it..Update:
Look at http://developer.android.com/tools/projects/projects-eclipse.html and http://www.vogella.com/articles/AndroidLibraryProjects/article.html