All topics

Mobile apps

Learners build a simple Android app with screens, saved data, and a connection to a service, and test it on a real low-cost phone.

Outline

Who it is for: Learners who can write and test basic code and want to build apps for phones used in Uganda.

Most people in the region reach the internet through a low-cost Android phone, so apps built for them must be small and work offline. Local apps for health, farming, or school can reach users who never use a computer. At the end, the learner can build a simple app with several screens, save data on the phone, and test it on a basic device.

Choose one path per class: Android with Kotlin and Jetpack Compose, or Flutter with Dart. Both make Android apps. The Android emulator is heavy for an ordinary laptop, so test on a real phone over USB where you can.

AI tools now write screen layouts quickly. This module spends more time on state, offline use, permissions, and testing on real phones. AI policy: Pioneers and adults may use AI for layout code, but they test it on a phone and explain every part. The checkpoint is done without AI.

Planned lessons

  1. What a mobile app is and how it runs
  2. Setting up and running an app on a real phone
  3. Layouts, text, and buttons on a phone screen
  4. State: making the screen change when data changes
  5. Lists and reusing a layout
  6. Navigating between screens
  7. Saving data on the phone
  8. Connecting to a service over the internet
  9. Working offline and handling slow networks
  10. Permissions and keeping user data safe
  11. Testing on a real low-cost phone
  12. Sharing a simple app with a small group

Teach it as

One sessionBuild one screen with a title and a button that changes the text, and run it on a real phone over USB, in one 2 hour class. Install the tools before the class.
One dayMorning: how an app runs, layouts, buttons, and state. Afternoon: a list of items and a second screen, tested on a phone.
One weekDay 1: how an app runs, set-up, and layouts. Day 2: state and lists. Day 3: navigation and saving data on the phone. Day 4: connecting to a service, offline use, and permissions. Day 5 (Build and Show): checkpoint without AI, then each learner shows an app running on a low-cost phone and explains its code.

Know this first

Standards this follows

Videos to download

No videos listed yet.