Pro Android C++ with the NDK

Android is one of the major players in the mobile phone market. Android is a mobile platform that is built on the top of Linux operating system. The native-code support on Android offers endless opportunities to application developers, not limited the functionality that is provided by Android framew...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Cinar, Onur
Format: Buch
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Android is one of the major players in the mobile phone market. Android is a mobile platform that is built on the top of Linux operating system. The native-code support on Android offers endless opportunities to application developers, not limited the functionality that is provided by Android framework. Pro Android C++ with the NDK is an advanced tutorial and professional reference for today's more sophisticated app developers now porting, developing or employing C++ and other native code to integrate into the Android platform to run sophisticated native apps and better performing apps in general. Using a game app case study, this book explores tools for troubleshooting, debugging, analyzing memory issues, unit testing, unit test code coverage, performance measurement, on native applications, as well as integrating the Android NDK toolchain into existing Autoconf, Makefile, CMake, or JAM based build systems. Pro Android C++ with the NDK also covers the following:The Android platform, and getting up to speed with the Android NDK, and exploring the APIs that are provided in native space.An overview of Java Native Interface (JNI), and auto-generating JNI code through Simplified Wrapper and Interface Generator (SWIG).An introduction to Bionic API, native networking. native multithreading, and the C++ Standard Template Library (STL) support.Native graphics and sound using JNI Graphics, OpenGL ES, and OpenSL ES.Debugging and troubleshooting native applications using Logging, GNU Debugger (GDB), Eclipse Debugger, Valgrind, strace, and other tools.Profiling native code using GProf to identify performance bottlenecks, and NEON/SIMD optimization from an advanced perspective, with tips and recommendations.What you'll learnWhat is the Android platform, and getting up to speed with the Android NDK.Using the Eclipse IDE to streamline developing native applicationsHow to use Java Native Interface (JNI) to connect native code to Java world.Auto-generate JNI code using Simplified Wrapper and Interface Generator (SWIG).Introduction to Bionic APINetworking through POSIX socketsDeveloping multithreaded applications using POSIX Threads, and Java Threads.Debug through Logging, GNU Debugger (GDB), and Eclipse DebuggerAnalyze memory issues through ValgrindC++ Support and Standard Template Library STLNative Graphics through JNI Graphics and OpenGL ESNative Sound through OpenSL ESProfiling the native code using GProf to identify performance bottlenecksOptimize code using SIMD/NEONW
DOI:10.1007/978-1-4302-4828-6