4 ms·
No, there's also controller input, touch, asset manager, and a handful of other stuff. <insert snide personal attack here> If you are writing a game, everythin
by kllrnohj 12y ago
No, there's also controller input, touch, asset manager, and a handful of other stuff. <insert snide personal attack here>
If you are writing a game, everything you need is available through NativeActivity without JNI.
- pjmlp 12y agoHave you ever bothered to look at the code for the NativeActivity? NativeActivity is a Java Activity that calls into C code via JNI. This C code then makes use of UNIX IPC to send the said events back and forth to the C/C++ code that runs in a separate thread. Every time Android OS calls into the Activity there is JNI involved. This only gets worse, if the developer plans to do a portable application, and not just a plain game. Just because you don't write the JNI code yourself, it doesn't mean it isn't there.