Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Android High Performance Programming

You're reading from  Android High Performance Programming

Product type Book
Published in Aug 2016
Publisher Packt
ISBN-13 9781785288951
Pages 412 pages
Edition 1st Edition
Languages
Authors (3):
Emil Atanasov Emil Atanasov
Profile icon Emil Atanasov
Enrique López Mañas Enrique López Mañas
Profile icon Enrique López Mañas
Diego Grancini Diego Grancini
Profile icon Diego Grancini
View More author details

Table of Contents (17) Chapters

Android High Performance Programming
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
1. Introduction: Why High Performance? 2. Efficient Debugging 3. Building Layouts 4. Memory 5. Multithreading 6. Networking 7. Security 8. Optimizing Battery Consumption 9. Native Coding in Android 10. Performance Tips Index

Bitmaps


One of the biggest challenges with our application is to handle images in an efficient way because there are a lot of different perspectives that impact the resulting application. This is a particular topic that covers almost everything we discussed in previous chapters:

  • Bitmaps need to be in a layout to be displayed correctly. Hence, what we discussed in Chapter 2, Efficient Debugging, is particularly important here.

  • Bad bitmap handling can lead to memory issues due to leaks or because bitmaps are used badly as variables instead of being read when needed. Hence, Chapter 4, Memory, can be helpful to keep in mind key concepts while saving and reading large images.

  • Too many times, we try to process significant amounts of data coming from images on the main thread; we will use the topics discussed in Chapter 5, Multithreading, to understand how to handle bitmaps efficiently with no impact on user experience.

  • Most of the time, images come from a remote resource. We will discuss how to retrieve...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}