Have a personal or library account? Click to login
Android NDK Beginner`s Guide - Second Edition Cover

Android NDK Beginner`s Guide - Second Edition

Discover the native side of Android and inject the power of C/C++ in your applications

Paid access
|Sep 2025
Product purchase options

Key Features

    Book Description

    Are you an Android Java programmer who needs more performance? Are you a C/C++ developer who doesn’t want to bother with the complexity of Java and its out-of-control garbage collector? Do you want to create fast intensive multimedia applications or games? If you’ve answered yes to any of these questions then this book is for you. With some general knowledge of C/C++ development, you will be able to dive headfirst into native Android development.

    What you will learn

    • Build your first Android native project from scratch
    • Communicate with Java through Java Native Interfaces
    • Learn the key design intricacies of creating a native OpenGL ES 2.0 graphics application
    • Initialize, play, and record sound and music with OpenSL ES
    • Handle input events and sensors to create different interaction types
    • Port an existing library on Android by compiling most common C++ frameworks on Android
    • Interface and optimize the existing code with RenderScript
    • Combine graphics, sound, input, sensors, and physics in your application

    Who this book is for

    Table of Contents

    1. Setting up your environment
    2. Creating your first Android native project
    3. Interfacing Java and C/C++
    4. Calling Java back from native code
    5. Writing a fully-native application
    6. Rendering Graphics with OpenGL
    7. Playing Sound with OpenSL ES!
    8. Handling Input Devices and Sensors
    9. Porting existing libraries to Android
    10. Intensive computing with RenderScript
    PDF ISBN: 978-1-78398-965-2
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 494