Pro Android Apps Performance Optimization (Paperback)
暫譯: 專業 Android 應用程式效能優化 (平裝本)

Herv Guihot

  • 出版商: Apress
  • 出版日期: 2012-01-27
  • 售價: $1,480
  • 貴賓價: 9.5$1,406
  • 語言: 英文
  • 頁數: 284
  • 裝訂: Paperback
  • ISBN: 1430239999
  • ISBN-13: 9781430239994
  • 相關分類: Android
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

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

  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

商品描述(中文翻譯)

當今的 Android 應用程式開發者經常面臨需要精煉、改善和優化應用程式性能的需求。隨著越來越複雜的應用程式被創建,開發者處理這一關鍵問題的重要性更是與日俱增。

Android 允許開發者使用 Java、C 或兩者的組合來編寫應用程式,透過 Android SDK 和 Android NDK。《Pro Android Apps Performance Optimization》揭示了如何微調您的 Android 應用程式,使其更穩定且更快速。在本書中,您將學到以下內容:

  • 如何使用 SDK 優化您的 Java 代碼,以及如何使用 Android NDK 的高級功能編寫和優化原生代碼,例如使用 ARM 單指令多數據 (SIMD) 指令(以 C 或組合語言編寫)
  • 如何在應用程式中使用多線程,如何最佳利用記憶體以及如何最大化電池壽命
  • 如何使用一些 OpenGL 優化和 Renderscript,這是 Android 3.0(Honeycomb)中的新功能,並在 Android 4.0(Ice Cream Sandwich)中擴展。

在閱讀和使用本書後,您將成為更好的程式設計師,您的應用程式也將編寫得更好。性能更佳的應用程式意味著更好的評價,最終,作為應用程式開發者或獨立商店的您將獲得更多的收益。

您將學到什麼

  • 如何在 Java 中優化您的應用程式
  • 如何使用 NDK 優化您的應用程式
  • 如何最佳利用記憶體以最大化性能
  • 如何最大化電池壽命
  • 如何以及何時使用多線程
  • 如何基準測試和分析您的代碼
  • 如何優化 OpenGL 代碼並使用 Renderscript

本書適合誰

已經熟悉 Java 和 Android SDK 的 Android 開發者,想要更進一步學習如何最大化性能。

目錄

  1. 優化 Java 代碼
  2. 開始使用 Android NDK
  3. 使用高級 NDK 功能
  4. 有效使用記憶體
  5. 多線程和同步
  6. 基準測試和分析您的應用程式
  7. 最大化電池壽命
  8. OpenGL 優化
  9. Renderscript