Android NDK: Discover the Native Side of Android and Inject the Power of C/C++ in Your Applications : Beginner's Guide
Annotation Android NDK is all about injecting high performance into your apps. Exploit the maximum power of these mobile devices using high-performance and portable code.This book will show you how to create C/C++ enabled applications and integrate them with Java. You will learn how to access native API and port libraries used in some of the most successful Android applications.Using this practical step-by-step tutorial, highlighted with comments and tricks, discover how to run C/C++ code embedded in a Java application or in a standalone application. You will create a real native application starting from project creation through to full implementation of native API and the porting of existing third-party libraries. You will discover OpenGL ES and OpenSL ES, which are becoming the new standard in mobility. You will also understand how to access keyboard and input peripherals and how to read accelerometer or orientation sensors. Finally, you will dive into more advanced topics such as debugging and ARM assembler instructions. By the end of the book, you should know the key elements to enable you to start exploiting the power and portability of native code.
What people are saying - Write a review
We haven't found any reviews in the usual places.
Other editions - View all
Android development Android device Android NDK android_app application array Boost C/C++ callback chapter collision command compilation configuration create Cygwin debugging define deploying DroidBlaster Eclipse endif environment variables event loop float foraction go hero goto ERROR graphics GraphicsService handling activity events iAsteroid ifndef implement include Log.hpp include Types.hpp initializing OpenGL installing Android int32_t interface Interfacing Java Irrlicht JNIEnv keyboard lEntry libpng Linux loading LOCAL_PATH lRes Mac OS X Makefile method mHeight module mTimeService mWidth namespace dbs namespace packt native code native thread NativeActivity Note Project NULL object OpenGL ES package packt::STATUS_OK pContext pEnv physics with Box2D pKey POSIX pWatcher queue reference return STATUS_OK screen sensor simulating physics SoundService sprite static static libraries STATUS_KO Store StoreEntry StoreType StoreWatcher String texture Timefor action Timeforaction touch events trackball UI thread update variables void Whatjust happened Windows