Android Native Development Kit cookbook. : a step-by-step tutorial with more than 60 concise recipes on Android NDK development skills / Feipeng Liu.

This book is written in a Cookbook style, beginning with recipes which focus on helping developers make their software/application available in Android. Android developers who want to learn Android NDK programming, or develop multimedia and games in Android NDK will benefit from this book.

Saved in:
Bibliographic Details
Main Author: Liu, Feipeng (Author)
Format: eBook
Language:English
Published: Birmingham : Packt Publishing Limited, 2013.
Subjects:
Online Access:Click for online access
Table of Contents:
  • Table of Contents; Android Native Development Kit Cookbook; Android Native Development Kit Cookbook; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Hello NDK; Introduction; Setting up an Android NDK development environment in Windows; Getting ready; How to do it ... ; How it works ...
  • There's more ... Setting up an Android NDK development environment in Ubuntu Linux; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Setting up an Android NDK development environment in Mac OS; Getting ready; How to do it ... ; How it works ... ; Updating Android NDK; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Writing a Hello NDK program; Getting ready; How to do it ... ; How it works ... ; There's more ... ; 2. Java Native Interface; Introduction; Loading native libraries and registering native methods; Getting ready; How to do it ... ; How it works ...
  • Passing parameters and receiving returns in primitive typesGetting ready; How to do it ... ; How it works ... ; Manipulating strings in JNI; Getting ready; How to do it; How it works ... ; There's more ... ; Managing references in JNI; How to do it ... ; How it works ... ; There's more ... ; Manipulating classes in JNI; Getting ready; How to do it ... ; How it works ... ; Manipulating objects in JNI; Getting ready; How to do it ... ; How it works ... ; Manipulating arrays in JNI; Getting ready; How to do it ... ; How it works ... ; Accessing Java static and instance fields in the native code; Getting ready; How to do it ... ; How it works ...
  • Calling static and instance methods from the native codeGetting ready; How to do it ... ; How it works ... ; Caching jfieldID, jmethodID, and referencing data to improve performance; Getting ready; How to do it ... ; How it works ... ; Checking errors and handling exceptions in JNI; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Integrating assembly code in JNI; Getting ready; How to do it ... ; How it works ... ; 3. Build and Debug NDK Applications; Introduction; Building an Android NDK application at the command line; Getting ready; How to do it ... ; How it works ... ; There's more ...
  • Taking screenshots from the command lineBuilding an Android NDK application in Eclipse; Getting ready; How to do it ... ; How it works ... ; Building an Android NDK application for different ABIs; Getting ready; How to do it ... ; How it works ... ; Building Android NDK applications for different CPU features; Getting ready; How to do it ... ; How it works ... ; There's more ... ; More about CPU feature detection; Different approaches of building for different cpu features; Debugging an Android NDK application with logging messages; How to do it ... ; How it works ... ; Debugging an Android NDK application with CheckJNI.