![]() The SDL devs have done a lot of work recently getting the new version of SDL working nicely on mobile platforms. I had barely messed with SDL 2.0 before this, so I really had to jump all in. This will be a work-in-progress tutorial-style post as I document the path I take to get started and get my existing code ported. The first step is getting your dev environment ready for Android development. ![]() Android dev is done in Java, but we’ll be using the Java Native Interface (JNI) to work in C and C++ instead. The process here is not too bad but it takes some time and patience. You just follow along with the official documentation. The website has instructions and hosts the ADT bundle (Android Developer Tools), SDK (Software Development Kit – included in ADT bundle), and NDK (Native Development Kit) downloads and describes how to set them up. The ADT bundle includes the SDK and the Eclipse IDE, which we’ll be using to do everything. I use Code::Blocks normally, but it’s really not a big deal to try out Eclipse. ![]() (I did write a little mouse/touch compatibility code so I can use Code::Blocks and test on Windows/Linux). Some devices need a little extra setup, like the Kindle Fire HD. Amazon has info on the details.Įither way, you need to also set up the JDK (Java Development Kit). The instructions recommend JDK 6 (as of writing), I guess. The only gotcha here is that you need to match the bitness of your OS, JDK, and Eclipse. OPENGL 2.0 ANDROID TUTORIAL FOR ANDROID.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |