Seeing the App in Action
We’re ready to take the application for a ride. We’ll use an Android emulator to run the application and interact with it.
Click the Run menu in the IDE and select the Run App menu item. In the dialog that opens, click the Create New Virtual Device button. Select Pixel 2 XL in the Phone tab. Click the x86 Images tab and click the Download link next to Pie on the line for x86_64 (or select the one that is appropriate for your system). Once you have the system image installed on your system, select it and press the Next button. Click the Finish button. Now select the device Pixel 2 XL API 28 and click OK.
Once the app launches in the emulator, enter a few airport codes, for example, “IAD”, “SFO”, “AUS”, “PDX”, one at a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access