This course is designed for software developers who are building Android apps and want to explore options for managing multiple threads. To get the most out of this course, you should be comfortable programming with Java, and should understand the most basic skills that are needed to build Android apps with the Android SDK and Android Studio.
- [Instructor] This course is designed for software developers who are using Android Studio to create apps for Android devices. The course is built assuming that you have basic Android development skills. Here are some of the skills that you'll need. You'll need to be comfortable working in the Java programming language. To learn more about Java, you can watch the course Java 8 Essential Training. And for information about more advanced concepts such as the use of interfaces as event handlers, watch the courses Java Advanced Training and Java Design Patterns and APIs for Android.
For more information about the core skills that you'll need to build Android apps, there's a series named Android Development Essential Training. There are courses on creating your first app, building the user interface, working with local data, and many more. And you'll need to be comfortable in the IDE Android Studio. The course was built with Android Studio 2.3.3, but should be usable in any later version of Android Studio as well. For a full tour of Android Studio, watch the course Android Studio Essential Training.
The projects in this course are built to target the latest version of Android as of the time of recording, Android 8 Oreo, but the project for the most part are backward compatible all the way to Android 4.0 Ice Cream Sandwich. There's one important exception to that, the content about the job scheduler API. That API was only introduced in API level 21 so the projects on that subject are only backward compatible that far. But by watching these courses or with the experience you might already have building Android apps, you should be able to watch this course on concurrent programming in Android.
First, discover how to create and start simple background threads, and how to use handlers to manage a thread's message queue. Then, learn various methods for optimizing the scheduling and performance of background tasks in Android with AsyncTask, intent services, and the JobScheduler API. Plus, explore tools that help you implement multithreading for different tasks in Android: Loader, for asynchronous data loading, and the open-source API Retrofit, for making HTTP requests.
Note: To get the most out of this course, you should be comfortable programming with Java, and should understand the most basic skills that are needed to build Android apps with the Android SDK and Android Studio.
- Creating and running a background thread
- Sending messages to the UI from threads
- Managing multiple background threads
- Managing threads with AsyncTask
- Managing long-running tasks with services
- Scheduling background tasks with JobScheduler
- Using other APIs for concurrent programming