Too busy to draw this time.. for now here's a picture of an Android Toy Ok, in this post I am going to talk about how to join C++ native code to a thin Android Java code layer. I am not going to be doing all native code, as I think the easiest route is to use the Android higher level convenience SDK for loading resources/file I/O, setting up OpenGL context and other state management. I won't be using any IDEs or anything else to complicate things. This is as easy as it can get, you get the source and type "make" (I assume you are on a system with GNU make, and your environment is setup correctly. Linux is easiest, but it should run fine on ANY system that can run Make, even Windows!). So the code will be structured like this: ----------------------------------- Android SDK OS Layer code ----------------------------------- Java App Thin Layer to Android OS ----------------------------------- Native C++ code called by...
Comments
Post a Comment