Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

"

Discover the native side of Android and inject the power of C/C++ in your applications with this book and ebook

  • Create high performance applications with C/C++ and integrate with Java

  • Exploit advanced Android features such as graphics, sound, input and sensing

  • Port and reuse your own or third-party libraries from the prolific C/C++ ecosystem

In Detail

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.

"

Subscriber Reviews

Average Rating: 4 out of 5 rating Based on 5 Ratings

"Very useful book, and afaik, one of a kind" - by Matty C on 08-MAR-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Very useful book on the Native side of Android development - for those whose apps need to be FAST.  A bit thin at times, perhaps, but remember: this book is the only one of its kind, as far as I've seen, and as such is infinitely useful.  If you need more depth, you can dive into the trees: the Android docs and source code, armed with the understanding of the forest that this book provides.
Report as Inappropriate

"openSL ES" - by Anonymous on 24-FEB-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
poor overview of openSL ES.
that all i need from this book, but information useless.

Report as Inappropriate

Table of Contents

 Index

Extras

The publisher has provided additional content related to this title.


Description
Content

Downloading the example code for this book

  • You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com.
  • If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.