2 ms·
Interesting - do you mean using the Android handler/message infrastructure? I hadn't considered that at all. Do you have any references?
by mmastrac 7y ago
Interesting - do you mean using the Android handler/message infrastructure? I hadn't considered that at all. Do you have any references?
- pjmlp 7y agoYes. One example would be SDL, although they use a mix of JNI and messages (search for SDLCommandHandler). http://hg.libsdl.org/SDL/file/abb47c384db3/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java http://hg.libsdl.org/SDL/file/abb47c384db3/android-project/a... http://hg.libsdl.org/SDL/file/abb47c384db3/src/core/android/SDL_android.c http://hg.libsdl.org/SDL/file/abb47c384db3/src/core/android/... EDIT: Sorry forgot about the C side (counterpart is Android_JNI_SendMessage).