Skip to content
LusonaHub#527 · Mon, 09 Nov 2026, 12:48:00 GMT
Tech Academy

Lusona Tech Academy · Beginner → Intermediate

Kotlin and Android (Jetpack Compose)

Google's recommended language for Android: Kotlin basics, null safety, data classes, then screens with Jetpack Compose.

2 modules · 5 hands-on lessons · 16 h · 0 XP

0%

Sign in to keep your progress on every device.

Module 1 · Kotlin basics

val, var and templates

val can't change, var can: val name = "Ana", var points = 0. Programs start in fun main() { ... }.

String templates: println("$name has $points points") or ${points * 2} for expressions.

Your task

In fun main(), set val city = "Porto" and print Hello from Porto! with a $city template.

Ctrl/⌘ + Enter

🧰 Install Android Studio (free, Windows/Mac/Linux), create an 'Empty Activity' project and press Run to use the built-in phone emulator or your own Android phone. Here, Check reads your code and confirms the parts the task asks for.

Loading videos from the Hub shelf…

Loading the shelf…