Programming for Ubiquitous Things
Lab Guide 3 - Spring 2025
Coroutines in Kotlin and Connection to the Internet
Objective:
- Introduction to Coroutines in Android Studio
In this codelab, you will learn using coroutines within an Android app and its lifecycle. You will add code to launch new coroutines concurrently and learn how to test them.
· - https://developer.android.com/codelabs/basic-android-kotlin-compose-coroutines-android-studio
- Connect to the Internet
In this codelabs, you will use Kotlin coroutines to perform multiple tasks at once, and learn about HTTP and REST to get data from the internet using Retrofit.
· - https://developer.android.com/courses/pathways/android-basics-compose-unit-5-pathway-1
In this codelabs, you will learn to use the Coil library to display images in your app.
· - https://developer.android.com/courses/pathways/android-basics-compose-unit-5-pathway-2