High Performance Android Apps_ Improve Ratings with Speed, Optimizations, and Testing [Sillars] (draft).pdf
(
10929 KB
)
Pobierz
High Performance
Android
Apps
IMPROVE RATINGS WITH SPEED,
OPTIMIZATIONS, AND TESTING
se
lea
Re
rly
Ea
AW &
R
DITED
UNE
Doug Sillars
High Performance Android Apps
Doug Sillars
High Performance Android Apps
by Doug Sillars
Copyright © 2010 AT & T Services, Inc.. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/
institutional sales department: 800-998-9938 or
corporate@oreilly.com.
Editor:
Brian Anderson
Production Editor:
FIX ME!
Copyeditor:
FIX ME!
Proofreader:
FIX ME!
January -4712:
First Edition
Indexer:
FIX ME!
Cover Designer:
Karen Montgomery
Interior Designer:
David Futato
Illustrator:
Rebecca Demarest
Revision History for the First Edition:
2014-11-03:
2015-01-03:
2015-03-03:
2015-05-04:
2015-07-20:
Early release revision 1
Early release revision 2
Early release revision 3
Early release revision 4
Early release revision 5
See
http://oreilly.com/catalog/errata.csp?isbn=9781491912485
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc. !!FILL THIS IN!! and related trade dress are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a trademark
claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume
no responsibility for errors or omissions, or for damages resulting from the use of the information contained
herein.
ISBN: 978-1-491-91248-5
[?]
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1. Introduction To Android Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Performance Matters to Your Users
E-Commerce and Performance
Beyond e-commerce Sales
Performance Infrastructure Savings
The Ultimate Performance Fail: Outages
Performance as a Rolling Outage
Consumer Reaction to Performance Bugs
Smartphone Battery Life - The Canary in the Coal Mine
Testing Your App For Performance Issues
Synthetic Testing
Real User Measurements (RUM) Testing
Conclusion
What Devices Are your Customers Using?
Device Spec Breakdown
Screen
SDK Version
CPU/Memory and Storage
What Networks are Your Customers Using?
Your Device is Not Your Customer’s Device
Testing
Building Your Device Lab
You Want $X,000 for Devices?
So What Devices Should I Pick?
Popular Yesterday
2
2
3
4
4
6
7
8
9
9
9
10
11
12
12
13
13
13
13
15
15
16
17
18
2. Building an Android Device Lab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
iii
Popular Today
Popular Tomorrow
Beyond Phones
Android Wear
Android Open Source Project Devices
Amazon
Other Android phones/tablets
Other
Remote Device Testing
Open Device Labs
Other Considerations
Conclusion
Android Hardware Features
Less is More
What Causes Battery Drain
Android Power Profile
Screen
Radios
CPU
Additional Sensors
Get To Sleep!
Wakelocks and Alarms
Doze Framework
Basic Battery Drain Analysis
App Specific Battery Drain
Coupling Battery Data with Data Usage
App Standby
Advanced Battery Monitoring
BatteryStats
Battery Historian
Battery Historian 2.0
JobScheduler
Conclusion
18
18
19
19
19
20
20
20
21
21
22
22
25
26
27
27
29
30
31
31
32
33
34
35
38
41
44
44
45
49
59
62
67
69
70
70
71
73
3. Hardware Performance and Battery Life. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4. Screen and UI Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
UI Performance Benchmarks
Jank
UI and Rendering Performance Updates in Android
Building Views
Hierarchy Viewer
iv
|
Table of Contents
Plik z chomika:
musli_com
Inne pliki z tego folderu:
100 Questions and Answers to Help You Land Your Dream Android Job_ or to Hire the Right Candidate! [López-Mañas 2015-07-19](1).pdf
(742 KB)
20 Recipes for Programming PhoneGap_ Cross-Platform Mobile Development for Android and iPhone [Munro 2012-04-06](1).pdf
(6551 KB)
50 Android Hacks [Sessa 2013-06-13](2).pdf
(10631 KB)
A Guide to Android for Seniors_ Introduction to Android Phones and Tablets [Hollinder 2015-04-02](1).pdf
(336 KB)
Advanced Android 4 Games [Silva 2011-12-19](1).pdf
(7341 KB)
Inne foldery tego chomika:
3D Design - Programming
ActionScript
Actionscript - Flash - Flex - Air
Ada
ADO
Zgłoś jeśli
naruszono regulamin