Description |
1 online resource (iii, 331 pages) : illustrations (some of which are in color) |
Note |
Includes index. |
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. |
Summary |
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. |
Subject |
Android (Electronic resource)
|
|
Android (Electronic resource)
|
|
Android (Electronic resource) (OCoLC)fst01776064
|
|
Android (Electronic resource)
|
|
Application software -- Development.
|
|
Mobile computing -- Software.
|
|
Mobile computing -- Programming.
|
|
COMPUTERS -- Programming -- Open Source.
|
|
COMPUTERS -- Software Development & Engineering -- General.
|
|
COMPUTERS -- Software Development & Engineering -- Tools.
|
|
Application software -- Development.
(OCoLC)fst00811707
|
|
Mobile computing. (OCoLC)fst01024221
|
|
Mobile computing / Programming.
|
|
Application software / Development.
|
Genre/Form |
Software. (OCoLC)fst01411640
|
Other Form: |
Paperback 9781849691505 |
ISBN |
1849691517 (electronic bk.) |
|
9781849691512 (electronic bk.) |