Pro Android Apps Performance Optimization

By Herv Guihot

  • eBook Price: $31.99
  • Print Book Price: $44.99
Buy eBook Buy Print Book
Pro Android Apps Performance Optimization reveals how to fine-tune your Android apps, making them stable, efficient and fast performing. Better-performing apps mean better reviews and eventually, more money for you as the app developer or your indie shop.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-3999-4
  • 284 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: February 5, 2012
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Pro Android Wearables
  • Beginning Android Wearables
  • Beginning Ubuntu for Windows and Mac Users
  • Beginning App Development with Parse and PhoneGap
  • Learn Android Studio
  • Pro XAML with C#
Full Description

Today's Android apps developers are often running into the need to refine, improve and optimize their apps performances. As more complex apps can be created, it is even more important for developers to deal with this critical issue.

Android allows developers to write apps using Java, C or a combination of both with the Android SDK and the Android NDK. Pro Android Apps Performance Optimization reveals how to fine-tune your Android apps, making them more stable and faster. In this book, you'll learn the following:

  • How to optimize your Java code with the SDK, but also how to write and optimize native code using advanced features of the Android NDK such as using ARM single instruction multiple data (SIMD) instructions (in C or assembly)
  • How to use multithreading in your application, how make best use of memory and how to maximize battery life
  • How to use to some OpenGL optimizations and to Renderscript, a new feature in Android 3.0 (Honeycomb) and expanded in Android 4.0 (Ice Cream Sandwich).

After reading and using this book, you'll be a better coder and your apps will be better-coded. Better-performing apps mean better reviews and eventually, more money for you as the app developer or your indie shop.

What you’ll learn

  • How to optimize your applications in Java
  • How to optimize your applications using the NDK
  • How to best use memory to maximize performance
  • How to maximize battery life
  • How and when to use multi-threading
  • How to benchmark and profile your code
  • How to optimize OpenGL code and use Renderscript

Who this book is for

Android developers already familiar with Java and Android SDK, who want to go one step further and learn how to maximize performance.

Table of Contents

Table of Contents

  1. Optimizing Java code
  2. Getting started with the Android NDK
  3. Using advanced NDK features
  4. Using memory efficiently
  5. Multithreading and synchronization
  6. Benchmarking and profiling your application
  7. Maximizing battery life
  8. OpenGL optimizations
  9. Renderscript
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

On page 4:
"Tip Use android:vmSafeMode in your application’s manifest to enable or disable the JIT compiler."

Perhaps understood, but *enabling* safe mode will *disable* JIT.

Best-Sellers

    1. More iPhone Development with Swift

      $31.99

      View Details

    2. Beginning Android Wearables

      $31.99

      View Details

    3. Beginning iOS Storyboarding

      $27.99

      View Details

    4. Expert Android

      $34.99

      View Details