Sorry to revisit such an old post, but the answer by fadden is
precisely what I needed to know, and one that took some effort to dig
up. The issue about non-system classes not being loaded will come up
if you are implementing callbacks from C into the JVM; there seem to
be plenty of other
As has been noted before, native code JNI development is not
currently supported on the SDK, and probably is better off discussed
in the android-platform or android-discuss boards.
See http://source.android.com/discuss for more information.
--~--~-~--~~~---~--~~
Of the top of my head, I think you need to createThreadEtc with the
flag to indicate that your thread will call into Java.
On Jan 9, 2:00 pm, redlight9...@gmail.com redlight9...@gmail.com
wrote:
i am trying to make callbacks to my android application from a native
C thread using JNI. however
On Jan 9, 2:00 pm, redlight9...@gmail.com redlight9...@gmail.com
wrote:
i am trying to make callbacks to my android application from a native
C thread using JNI. however when i call FindClass it returns a NULL
value. i need to get the jclass value returned by FindClass() to
call
4 matches
Mail list logo