Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Pro Android C++ with the NDK

Buy
Pro Android C++ with the NDK, 9781430248279 (1430248270), Apress, 2012

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 learn

  • What is the Android platform, and getting up to speed with the Android NDK.
  • Using the Eclipse IDE to streamline developing native applications
  • How 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 API
  • Networking through POSIX sockets
  • Developing multithreaded applications using POSIX Threads, and Java Threads.
  • Debug through Logging, GNU Debugger (GDB), and Eclipse Debugger
  • Analyze memory issues through Valgrind
  • C++ Support and Standard Template Library STL
  • Native Graphics through JNI Graphics and OpenGL ES
  • Native Sound through OpenSL ES
  • Profiling the native code using GProf to identify performance bottlenecks
  • Optimize code using SIMD/NEON

Who this book is for

This book is for software professionals who are interested in leveraging the Android NDK to port their existing native-code app, such as C++, to the Android platform, as well as existing Android developers who are interested in improving their apps overall performance by utilizing native-code.  

Table of Contents

  1. Getting Started with C++ on Android   
  2. Exploring the Android NDK   
  3. Communicating with Native Code using JNI    
  4. Auto-Generate JNI Code Using SWIG  
  5. Logging, Debugging, and Troubleshooting    
  6. Bionic API Primer  
  7. Native Threads 
  8. POSIX Socket API: Connection Oriented Communication 
  9. POSIX Socket API: Connetionless Communication 
  10. POSIX Socket API: Local Communication
  11. C++ Support 
  12. Native Graphics API
  13. Sound Native API
  14. Profiling and NEON Optimization
(HTML tags aren't allowed.)

SEO: Search Engine Optimization Bible
SEO: Search Engine Optimization Bible
Detailed, practical guide to increasing your Web traffic through better search results

Wonder how some companies pop up high in search engine rankings? It's all about search appeal. Master the strategies, techniques, and shortcuts in this detailed guide and you can improve your Web site's search rankings and drive the targeted traffic you want...

Advertising: A Very Short Introduction (Very Short Introductions)
Advertising: A Very Short Introduction (Very Short Introductions)

Advertising is riddled with myths and misunderstandings. It is simultaneously believed to be both immensely powerful and immensely wasteful, to increase economic prosperity and to be morally questionable. Neither its historic origins nor its  modern operations are well understood. Many of these mythsand misunderstandings are almost as...

The Elements of Investing
The Elements of Investing

A timeless, easy-to-read guide on life-long investment principles that can help any investor succeed

The Elements of Investing has a single-minded goal: to teach the principles of investing in the same pared-to-bone manner that Professor William Strunk Jr. once taught composition to students at Harvard, using his...


Down Milling Trimming Process Optimization for Carbon Fiber-Reinforced Plastic (SpringerBriefs in Applied Sciences and Technology)
Down Milling Trimming Process Optimization for Carbon Fiber-Reinforced Plastic (SpringerBriefs in Applied Sciences and Technology)

This book offers recommendations on the milling processes for the carbon fiber reinforced plastic CFRP/Al2024. Due to the anisotropic and non-homogeneous structure of CFRP and the ductile nature of aluminum, the machining of this material is very challenging and causes various types of damage, such as matrix cracking and thermal...

The Gale Encyclopedia Of Cancer: A Guide To Cancer And Its Treatments (Gale Encyclopedia of Cancer) 2 Volume Set
The Gale Encyclopedia Of Cancer: A Guide To Cancer And Its Treatments (Gale Encyclopedia of Cancer) 2 Volume Set
Unfortunately, man must suffer disease. Some diseases are totally reversible and can be effectively treated. Moreover, some diseases with proper treatment have been virtually annihilated, such as polio, rheumatic fever, smallpox, and, to some extent, tuberculosis. Other diseases seem to target one organ, such as the heart,...
Photoshop Elements 9: The Missing Manual
Photoshop Elements 9: The Missing Manual

Elements 9 offers much of Photoshop's power without the huge price tag. It's an ideal tool for most image-editing buffs -- including scrapbookers, photographers, and aspiring graphic artists. But Elements still doesn't come with a decent manual. This bestselling book will help you get the most out of the program, from the...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy