Android High Performance Programming
暫譯: Android 高效能程式設計

Enrique Lopez Manas, Diego Grancini

  • 出版商: Packt Publishing
  • 出版日期: 2016-08-31
  • 售價: $2,220
  • 貴賓價: 9.5$2,109
  • 語言: 英文
  • 頁數: 412
  • 裝訂: Paperback
  • ISBN: 1785288954
  • ISBN-13: 9781785288951
  • 相關分類: Android
  • 相關翻譯: Android 高性能編程 (簡中版)
  • 海外代購書籍(需單獨結帳)

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

商品描述

Build fast and efficient Android apps that run as reliably as clockwork in a multi-device world

About This Book

  • Wide coverage of various topics that help in developing optimal applications
  • Explore the concepts of Advanced Native Coding in depth
  • A must-have for professional-standard Android developers for whom performance failures and the sloppy use of resources are simply unacceptable

Who This Book Is For

This book is aimed at developers with an advanced knowledge of Android and who want to test their skills and learn new techniques to increase the performance of their applications. We assume they are comfortable working with the entire Android SDK, and have been doing it for a few years. They need to be familiar with frameworks such as NDK to use native code, which is crucial for app performance

What You Will Learn

  • Create Android applications that squeeze the most from the limited resource capacity of devices
  • Swap code that isn't performing
  • Efficient memory management by identifying problems such as leaks
  • Reap the benefits of multithreaded and asynchronous programming
  • Maximize the security and encryption mechanisms natively provided by Android
  • Perform efficient network operations and techniques to retrieve data from servers
  • Master the NDK to write native code that can perform faster operations

In Detail

Performant applications are one of the key drivers of success in the mobile world. Users may abandon an app if it runs slowly. Learning how to build applications that balance speed and performance with functionality and UX can be a challenge; however, it's now more important than ever to get that balance right.

Android High Performance will start you thinking about how to wring the most from any hardware your app is installed on, so you can increase your reach and engagement. The book begins by providing an introduction to state–of-the-art Android techniques and the importance of performance in an Android application. Then, we will explain the Android SDK tools regularly used to debug and profile Android applications. We will also learn about some advanced topics such as building layouts, multithreading, networking, and security. Battery life is one of the biggest bottlenecks in applications; and this book will show typical examples of code that exhausts battery life, how to prevent this, and how to measure battery consumption from an application in every kind of situation to ensure your apps don't drain more than they should.

This book explains techniques for building optimized and efficient systems that do not drain the battery, cause memory leaks, or slow down with time.

Style and approach

The book follows a tutorial-based approach to take the reader from the basic fundamentals of debugging to advanced performance-improvement concepts.

商品描述(中文翻譯)

**快速且高效地構建在多設備世界中如時鐘般可靠運行的 Android 應用程式**

## 本書介紹

- 廣泛涵蓋各種主題,幫助開發最佳應用程式
- 深入探索進階原生編碼的概念
- 對於專業標準的 Android 開發者來說,性能失敗和資源的粗糙使用是完全不可接受的,這本書是必備之選

## 本書適合誰

本書針對具備進階 Android 知識的開發者,想要測試自己的技能並學習新技術以提高應用程式性能。我們假設他們對整個 Android SDK 感到熟悉,並且已經工作了幾年。他們需要熟悉 NDK 等框架,以使用對應用程式性能至關重要的原生代碼。

## 您將學到什麼

- 創建能夠充分利用設備有限資源容量的 Android 應用程式
- 替換表現不佳的代碼
- 通過識別問題(如內存洩漏)來進行高效的內存管理
- 獲取多線程和非同步編程的好處
- 最大化 Android 原生提供的安全性和加密機制
- 執行高效的網絡操作和從伺服器檢索數據的技術
- 精通 NDK,編寫能夠執行更快操作的原生代碼

## 詳細內容

高效能的應用程式是移動世界成功的關鍵驅動因素之一。如果應用程式運行緩慢,使用者可能會放棄它。學習如何構建在速度和性能與功能和用戶體驗之間取得平衡的應用程式可能是一個挑戰;然而,現在比以往任何時候都更重要的是要正確取得這種平衡。

《Android 高性能》將開始讓您思考如何從任何安裝您應用程式的硬體中榨取最大效能,以便增加您的觸及率和參與度。本書首先介紹最先進的 Android 技術以及性能在 Android 應用程式中的重要性。接著,我們將解釋常用於調試和分析 Android 應用程式的 Android SDK 工具。我們還將學習一些進階主題,如構建佈局、多線程、網絡和安全性。電池壽命是應用程式中最大的瓶頸之一;本書將展示耗盡電池壽命的代碼的典型示例,如何防止這種情況,以及如何在各種情況下測量應用程式的電池消耗,以確保您的應用程式不會消耗過多電量。

本書解釋了構建優化和高效系統的技術,這些系統不會耗盡電池、造成內存洩漏或隨著時間變慢。

## 風格與方法

本書採用基於教程的方法,帶領讀者從調試的基本原理到進階性能改進概念。

最後瀏覽商品 (20)