Why are you calling pthread_exit(0) on the main thread, this will terminate
your application immediately.
You can't block on the main UI thread (which calls your JNI callback).
You'll need to find a different synchonization primitive (see AsyncHandlers
in the SDK doc)
On Wed, Aug 24, 2011 at 5:41
Hi All,
I ported one muti-threaded native code (binary) to android platform,
and is working fine,
Now i am trying to run this code by creating apk, created my native
code as shared library using NDK and
i am calling this shared library by using JNI, below is the sample
code,
But it is not workin