Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Troubleshooting Android Performance
Rating: 3.9 out of 5(21 ratings)
109 students

Troubleshooting Android Performance

Smart and simple solutions to overcome common performance issues with Android
Last updated 4/2019
English

What you'll learn

  • Detect memory leaks and fix them before they ruin your users’ experience.
  • Load images efficiently without using too much memory.
  • Work with the cloud in a way that will be seamless to your users.
  • How to work with the UI thread and how to run non-UI related tasks in the background for more pleasant user experience.
  • Debug your UI and manage the way you want it to look.
  • Ways to optimize your app for good battery usage.

Course content

5 sections21 lectures2h 14m total length
  • The Course Overview3:07

    This video gives an overview of the entire course.

  • Optimizing Your Loops9:42

    Unnecessary allocations are often made inside the loops. We will discuss how to overcome that.

       •  Discuss how a typical for-loop works

       •  Discuss how for-loops are usually used by developers

       •  Mention that allocations should be kept out of loops if possible

  • StackOverflowException7:04

    Developers often see StackOverFlowException but they don’t know what it is.

       •  Look at what this Exception does and why it exists

       •  See how to invoke this Exception

       •  Understand how to avoid this Exception

  • Loading Images9:47

    Images consume a lot of memory. If not handled with care, they can cause OutOfMemoryErrors.

       •  Look at how an OutOfMemoryError can happen

       •  Show a code that helps load images more efficiently

       •  See how to load libraries more easily with libraries such as Glide

  • Analyzing Memory Using the Memory Profiler7:47

    Memory analysis is something every developer should know how to do.

       •  Show how to launch the Memory Profiler

       •  Learn the various components of the Memory Profiler

       •  Track the memory of our app

  • Tracking Allocations4:09

    Tracking allocations can help find memory leaks and errors in execution.

       •  Look at how to create a heap dump

       •  Understand how to analyze the heap dump

       •  Give an example of our app’s heap dump

Requirements

  • Some basic knowledge of Android development and Android Studio is assumed.

Description

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.

About the Author

Yusuf Saber is an Android developer with over 5 years' professional experience. Yusuf earned his Master's degree in Computer Engineering from Ryerson University in 2011 and started his career as a .NET developer before quickly turning to Android. He has worked on a large range of Android apps, from social to multimedia to B2B—and more! You can see some of his public apps on Google Play too

Who this course is for:

  • This course is specially designed for beginner Android developers who want to get rid of common errors and pitfalls in order to improve Android performance.