void
void

Reputation: 207

Dynamically loading C++ library in Android

I am trying to load C++ library dynamically in to the Android project. Is there any other method of loading/linking library dynamically other than System.LoadLibrary() function call ?

Are there any good tools available to debug whether the Activity classes invoke the C++ library ?

Thanks in advance.

Upvotes: 2

Views: 2271

Answers (1)

chrisvarnz
chrisvarnz

Reputation: 457

dlopen() and related functions in dlfcn.h allow you to dynamically load libraries from within the NDK. http://androidxref.com/7.1.1_r6/xref/bionic/libc/include/dlfcn.h

Upvotes: 1

Related Questions