Android on x86_ An Introduction to Optimizing for Intel Architecture [Krajci & Cummings 2013-12-26](1).pdf
(
14021 KB
)
Pobierz
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
Android on x86
Android on x86: an Introduction to Optimizing for Intel
®
Architecture
serves two
main purposes. First, it makes the case for adapting your applications onto Intel’s
x86 architecture, including discussions of the business potential, the changing
landscape of the Android marketplace, and the unique challenges and opportunities
that arise from x86 devices. The fundamental idea is that extending your applications
to support x86 or creating new ones is not difficult, but it is imperative to know all
of the technicalities. This book is dedicated to providing you with an awareness of
these nuances and an understanding of how to tackle them.
Second, and most importantly, this book provides a one-stop detailed resource
for best practices and procedures associated with the installation issues, hardware
optimization issues, software requirements, programming tasks, and perfor-
mance optimizations that emerge when developers consider the x86 Android
devices. Optimization discussions dive into native code, hardware acceleration,
and advanced profiling of multimedia applications. The authors have collected
this information so that you can use the book as a guide for the specific require-
ments of each application project.
This book is not dedicated solely to code; instead it is filled with the information
you need in order to take advantage of x86 architecture. It will guide you through
installing the Android SDK for Intel Architecture, help you understand the differ-
ences and similarities between processor architectures available in Android
devices, teach you to create and port applications, debug existing x86 appli-
cations, offer solutions for NDK and C++optimizations, and introduce the Intel
Hardware Accelerated Execution Manager. This book provides the most useful
information to help you get the job done quickly while utilizing best practices.
ISBN 978-1-4302-6130-8
53999
Shelve in
Mobile Computing
User level:
Beginning–Advanced
9 781430 261308
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
Contents at a Glance
About the Authors�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
xxi
Acknowledgments �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
xxiii
Introduction �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½xxv
■
Chapter 1: History and Evolution of the Android OS �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
1
■
Chapter 2: The Mobile Device and Operating System Landscape �½�½�½�½�½�½
9
■
Chapter 3: Beyond the Mobile App—A Technology Foundation �½�½�½
17
■
Chapter 4: Android Development—Business Overview
and Considerations �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
25
■
Chapter 5: The Intel Mobile Processor �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
33
■
Chapter 6: Installing the Android SDK for Intel
Application Development�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
47
■
Chapter 7: Creating and Porting NDK-Based
Android Applications �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
75
■
Chapter 8: Debugging Android �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
131
■
Chapter 9: Performance Optimizations for Android
Applications on x86 �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
185
■
Chapter 10: x86 NDK and C/C++ Optimizations �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
259
■
Chapter 11: Using Intel Hardware Accelerated Execution
Manager on Windows, Mac OS, and Linux to Speed Up
Android on x86 Emulation �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
285
v
■
Contents at a GlanCe
■
Chapter 12: Performance Testing and Profiling Apps
with Platform Tuning �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
303
■
Appendix A: References�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
331
Index �½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½�½
343
vi
Introduction
We wrote
Android on x86: an Introduction to Optimizing for Intel
®
Architecture
to
provide a one-stop, detailed resource for the topic’s best practices and procedures.
The book encompasses the installation issues, hardware optimization issues, software
requirements, programming tasks, and performance optimizations that emerge when you
consider programming for x86-based Android devices. Having worked on related projects
ourselves, we committed to collecting our experience and information into one book
which could be used as a guide through any project’s specific requirements. We dove into
fine-tuned optimizations, native code adjustments, hardware acceleration, and advanced
profiling of multimedia applications.
The book is not dedicated solely to code, although you’ll find plenty of code samples
and case studies inside. Instead, we’ve filled
Android on x86
with the information you
need in order to take advantage of the x86 architectures. We will guide you through
installing the Android Software Development Kit for Intel Architectures, help you
understand the differences and similarities between the processors available for
commercial Android devices, teach you to create and port applications, debug existing
x86 applications, offer solutions for NDK and C++ optimizations, and introduce the
Intel Hardware Accelerated Execution Manager. The information we’ve pulled together
provides the most useful help for getting your development job done quickly and well.
Why Android on x86?
In 2011, we experienced a paradigm shift in how we communicate. Smart device sales
outpaced personal computer sales for the first time. This changing of the guard emerged
from three sources:
•
•
•
Our increasing professional and social need for open, constant
communication
The lower cost and compelling new features of smartphones and
tablets
The increased ease of use and availability of mobile apps
In the next few years, mobile access to the Internet is likely to exceed access via
laptops and desktops; the hardware we use to communicate may change, but our passion
for connectivity anytime, anywhere is sure to continue.
xxv
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