codereviewanskquestions
codereviewanskquestions

Reputation: 13998

Android NDK, How to add more native function to existing library?

Let' say I already compiled native source codes and got libNativeLib.so file. If I want to add more functions to the library then how do I do this?

Thanks in advance..

Upvotes: 1

Views: 533

Answers (1)

ra.
ra.

Reputation: 1808

If you have the header file(s) to libNativeLib.so You can rename it to libNativeLibMid.so, then You can write your c methods and compile this code into libNativeLib.so using static linking to libNativeLibMid.so.

Upvotes: 1

Related Questions