Android High Performance Programming

0
(0)

Android High Performance Programming
 

  • Author:Diego GranciniEnrique López Mañas
  • Length: 412 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2016-08-29
  • ISBN-10: 1785288954
  • ISBN-13: 9781785288951
  • Sales Rank: #1883448 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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.

    Table of Contents

    Chapter 1: Introduction: Why High Performance?
    Chapter 2: Efficient Debugging
    Chapter 3: Building Layouts
    Chapter 4: Memory
    Chapter 5: Multithreading
    Chapter 6: Networking
    Chapter 7: Security
    Chapter 8: Optimizing Battery Consumption
    Chapter 9: Native Coding in Android
    Chapter 10: Performance Tips

    中文:

    书名:Android High Performance Programming

    构建快速高效的Android应用程序,在多设备世界中像时钟一样可靠地运行

    关于本书

    • 广泛涵盖有助于开发最佳应用程序的各种主题
    • 深入探讨高级原生编码的概念
    • 对于专业标准的Android开发人员来说,这是必备的,对于他们来说,性能失败和草率地使用资源是完全不可接受的

    Who This Book Is For

    这本书的目标读者是对Android有深入了解并希望测试自己的技能并学习新技术以提高应用程序性能的开发人员。我们认为他们很喜欢使用整个Android SDK,并且已经这样做了几年。他们需要熟悉NDK等框架才能使用本机代码,这对应用程序的性能至关重要

    What You Will Learn

    • 创建Android应用程序,最大限度地利用设备有限的资源容量
    • 交换不能执行的代码
    • Efficient memory management by identifying problems such as leaks
    • 从多线程和异步编程中获益
    • 最大限度地利用Android本身提供的安全和加密机制
    • 执行高效的网络操作和技术以从服务器检索数据
    • 掌握NDK以编写能够执行更快操作的本机代码

    详细地说

    高性能的应用程序是移动世界成功的关键驱动力之一。如果应用程序运行缓慢,用户可能会放弃该应用程序。学习如何构建在速度、性能与功能和用户体验之间取得平衡的应用程序可能是一项挑战;然而,现在比以往任何时候都更重要地实现这种平衡。

    Android高性能将开始让你思考如何最大限度地利用你的应用程序安装在任何硬件上,这样你就可以扩大你的覆盖范围和参与度。这本书首先介绍了最先进的Android技术和Android应用程序中性能的重要性。然后,我们将介绍经常用于调试和剖析Android应用程序的Android SDK工具。我们还将学习一些高级主题,如建筑布局、多线程、网络和安全性。电池寿命是应用程序中最大的瓶颈之一;这本书将展示耗尽电池寿命的代码的典型示例,如何防止这种情况,以及如何在各种情况下测量应用程序的电池消耗,以确保您的应用程序不会消耗超过应有的电量。

    这本书解释了构建优化和高效的系统的技术,这些系统不会耗尽电池,不会导致内存泄漏,也不会随着时间的推移而变慢。

    风格和方法

    本书遵循基于教程的方法,将读者从调试的基本基础知识带到高级性能改进概念。

    目录表

    第1章:引言:为什么选择高性能?
    第2章:高效调试
    第三章:建筑布局
    第四章:记忆
    第5章:多线程
    第6章:网络
    Chapter 7: Security
    第8章:优化电池消耗
    Chapter 9: Native Coding in Android
    第十章:性能提示

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册