On Your Phone
You'll set up a toolchain, build the smallest possible app, and run it on your actual phone rather than the simulator on your laptop.
About
The simulator lies about speed, touch, the keyboard and permissions, so the first thing to learn is how to get code onto a real device. Pick one toolchain and stick with it for the evening: Android Studio with Kotlin runs on any computer, Xcode with Swift needs a Mac, and Flutter or React Native build for both. On an iPhone a free Apple ID is enough, and builds from it stop working after seven days, which is fine for now. A website opened in a browser doesn't count, and neither does a no-code builder, because the point is to see the whole toolchain work end to end.
At a glance
- Per requirement
- 15 XP
- Completion bonus
- 75 XP
- Requirements
- 5
- Takes
- One evening
- Skill level
- Novice (never tried it)
- Cost
- Free
- Supplies
- Nothing special
- Where
- At home
- Other people
- On your own
Requirements
-
1
Install a toolchain and get its sample project building. Android Studio is free on Windows, Mac and Linux. Xcode is free on a Mac, and the download is over 10 GB, so start it before dinner. Flutter and React Native sit on top of one or both of those. Build the sample project until it runs in the emulator or simulator. Take a photo of the sample app running on your laptop. Photo
-
2
Put the phone into developer mode and get the laptop to see it. On Android, go to Settings, About phone, and tap Build number seven times, then turn on USB debugging in the new Developer options menu. On an iPhone, plug it in, tap Trust, and turn on Developer Mode under Privacy & Security, which restarts the phone. If nothing shows up in your device list, swap the cable, because a cable that only charges is the classic trap. Take a photo of your phone's name in the IDE's device list. Photo
-
3
Run the sample app on the phone. With a free Apple ID you'll also need to trust your own developer certificate under Settings, General, VPN & Device Management before the app will open. Take a photo of the app running on your phone with the cable and laptop in the frame. Photo
-
4
Change the text, change a color, and add a button that does something. Tapping the button should change the text on screen. This is the loop you'll live in from now on: edit, build, run, tap. Film the tap on the real phone. Video
-
5
Unplug the phone, walk to another room and open the app from the home screen. The app lives on the phone now. A free Apple build expires after seven days and a paid account's lasts a year, so note the date. Film opening it with no cable, and tell us in your post what surprised you about the setup. Video