I am starting to play with inline Java code.
I would like to port some functionalities from a java library that I wrote some time ago. This library uses a .so library. In the JAR, these .so files were under a "lib" folder
lib/armeabi/libmysolib.so
lib/armeabi-v7a/libmysolib.so
So I write this in the inline java code, in a similar way as I did in my java library,
The next step is to add the .so files to the project.
Where must I place the "lib" folder with its content? I have tried DirAssets but it didn't work.
--EDIT-- Also tried copying the lib/armeabi/libmysolib.so and lib/armeabi-v7a/libmysolib.so to File.DirInternal, but no luck
I would like to port some functionalities from a java library that I wrote some time ago. This library uses a .so library. In the JAR, these .so files were under a "lib" folder
lib/armeabi/libmysolib.so
lib/armeabi-v7a/libmysolib.so
So I write this in the inline java code, in a similar way as I did in my java library,
B4X:
#if java
...
System.loadLibrary("mysolib");
...
#end if
The next step is to add the .so files to the project.
Where must I place the "lib" folder with its content? I have tried DirAssets but it didn't work.
--EDIT-- Also tried copying the lib/armeabi/libmysolib.so and lib/armeabi-v7a/libmysolib.so to File.DirInternal, but no luck
Last edited: