Android High Performance Programming

Enrique Lopez Manas, Diego Grancini

  • 出版商: Packt Publishing
  • 出版日期: 2016-08-31
  • 售價: $2,170
  • 貴賓價: 9.5$2,062
  • 語言: 英文
  • 頁數: 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工具。我們還將學習一些高級主題,如構建佈局、多線程、網路和安全性。電池壽命是應用程式中最大的瓶頸之一;本書將展示耗盡電池壽命的典型程式碼示例,以及如何防止這種情況發生,以及如何在各種情況下測量應用程式的電池消耗,以確保您的應用程式不會消耗過多。

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

風格和方法
本書採用教程式方法,從基本的調試基礎知識到高級性能改進概念。