I have the project folder inside ndk (android-ndk-1.5_r1\sources)
which is having the .C files, having the native methods.
While compling the project with Cigwin, a .so file is created inside
(android-ndk-1.5_r1\apps\projectname\project\libs\armeabi)
I am efficiently able to load this .so into my Android code using :

System.loadLibrary("libname");

My question is: Now i have 2-3 more .so files, which are the result of
some other .C files being complied by Cigwin. How can i load these .so
files into my Android code.

I have tried by adding these .so files into the same (android-
ndk-1.5_r1\apps\projectname\project\libs\armeabi) folder and then
using:

System.loadLibrary("libname");
System.loadLibrary("libname1");
System.loadLibrary("libname2");

but when control comes to the 2nd loadlib, the application crashes.

Please help me, where am i going wrong. And what is the correct
solution to load properly multiple .so files, to be able to call
native methods from each of the .so file.

Thanx in advance,
waiting for reply..

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to