In my previous post on this topic, A performance comparison between Java and C on the Nexus 5, I compared the performance of an audio low-pass filter in Java and C. The results were clear: The C version outperformed, and by a significant amount. This result brought more attention to the post than I was expecting; some of … Continue reading A performance comparison redux: Java, C, and Renderscript on the Nexus 5»
Top stories GDC 2014 Report libgdx: We’ll go 1.0 next weekend! Recent posts A Performance Comparison Between Java and C on the Nexus 5 How Powerful Is Your Nexus 7? Finishing up Our Native Air Hockey Project with Touch Events and Basic Collision Detection Android native development Android on x86: Java Native Interface and the Android … Continue reading OpenGL Roundup, April 10, 2014: GDC 2014 Report, libgdx 1.0, Data-Oriented Design and More…»
Android phones have been growing ever more powerful with time, with the Nexus 5 sporting a quad-core 2.3 GHz Krait 400; this is a very powerful CPU for a mobile phone. With most Android apps being written in Java, does Java allow us to access all of that power? Or, put another way, is Java … Continue reading A performance comparison between Java and C on the Nexus 5»
The following post is based on a paper generously contributed by Jerome Huck, a senior aerospace/defence engineer, scientist, and author. A link to figures and the code can be found at the bottom of this post. So you want to run some heavy-duty algorithms on your Android device, and you’re wondering what is the best environment … Continue reading How Powerful Is Your Nexus 7?»
For this first post in the Developing a Simple Game of Air Hockey Using C++ and OpenGL ES 2 for Android, iOS, and the Web series, we’ll create a simple Android program that initializes OpenGL, then renders simple frames from native code. Prerequisites The Android SDK & NDK installed, along with a suitable IDE. An … Continue reading Calling OpenGL from C on Android, Using the NDK»