Skip to Content
Pro Android Apps Performance Optimization
book

Pro Android Apps Performance Optimization

by Hervé Guihot
January 2012
Intermediate to advanced content levelIntermediate to advanced
282 pages
7h 4m
English
Apress
Content preview from Pro Android Apps Performance Optimization

Summary

We have seen how the use of native code can improve performance. Even though carefully crafted native code rarely results in a degradation of performance, performance is not the only reason why you should use the NDK. The following are all good reasons why you should use it:

  • You want to reuse existing code instead of having to rewrite everything in Java.
  • You want to write new code to use on other platforms that don't support Java.
  • You want to target older Android devices that do not have a Just-In-Time compiler (Android 2.1 and earlier), and native code is the only way to offer a good user experience.
  • Using native code in your application makes the user experience better, even on Android devices with a JIT compiler.

The first two reasons ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android High Performance Programming

Android High Performance Programming

Enrique López Mañas, Diego Grancini
Pro Android Graphics

Pro Android Graphics

Wallace Jackson

Publisher Resources

ISBN: 9781430239994Purchase book