Book Image

Troubleshooting Android Performance [Video]

By : Yusuf Saber
Book Image

Troubleshooting Android Performance [Video]

By: Yusuf Saber

Overview of this book

Have you started developing an Android application only to find the app is slower than you expected? Or that certain tasks are not working as you expected? Dealing with performance issues on Android is a common experience many developers face. Performance is a key requirement in any good app that user's don't necessarily look for, but experience every time they open an app. If the earlier questions apply to you, look no further! This course will help you overcome common performance issues on Android. In this course, we go over the important and common areas that can affect performance such as memory, network, UI, and battery. We delve into issues such as memory management, where we will look at memory leaks and tracking allocations. We also look at optimizing your user experience when working with data on the cloud. We also go into some common pitfalls when working with your UI and how to debug it. Finally, we look at ways to optimize and debug your app's battery usage to ensure that it doesn't annoy users when they've installed your app. When you're completed with this course, you will be developing applications more efficiently, without having to worry about your code affecting the performance that your users experience. All the code files and related files are placed on GitHub repository at https://github.com/PacktPublishing/Troubleshooting-Android-Performance
Table of Contents (5 chapters)
Chapter 2
Avoiding Memory Leaks
Content Locked
Section 1
What Are Memory Leaks?
Memory leaks are an oft-forgotten aspect of software development. Here, we discuss them in detail. - Start by defining how memory is allocated - Discuss the garbage collector - Look at how a memory leak can occur