How to create ThirdParty for Android with shared (.so) library within
I'm no very familiar wih Android development. At this moment I have NDK shared library(.so), header files for it (.h), and .jar library. I don't have linux library (.a). So, this pack of files is enough to create ThirdParty for Android? I already create few ThirdParty for Win, with static and dynamic libraries, but I have no idea how to do same for Android. Can i use PublicDelayLoadDLLs for ".so"?
Solved. There is no way to create ThirdParty for android using Java libs. It's only C++.
Instead, i can edit "UE4 Java Activity", e.g. "Engine\Build\Android\Java\src\com\epicgames\ue4\GameActivity.java" and include into it whatever i need. Also, for we must edit "Android.mk".
And in end "load library" section:
And ofcourse create "Java/libs" folder and put *.jar into it.
Finally with connected lib (tested - all is OK) i can use JNI methods to access Java from C++. There are still a lot of work: per class C++->Java communication and engine-dependend template creation. Have something to do for few next weeks.
answered Jul 05 '14 at 12:58 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here