4

CREATING YOUR FIRST ANDROID APP

Image

To build the mobile version of the Hi-Lo guessing game app, we’re going to use Android Studio. If you didn’t set this up in Chapter 1, go back to “Installing Android Studio for Mobile App Development” on page 8 and set it up. As with the GUI version of the game, we’re going to create a user interface for the app, as shown in Figure 4-1. The apps you’ve created so far could only be run on your desktop computer, but Android apps can run on any Android device, including phones, tablets, watches, TVs, and so on. If you don’t own an Android device, don’t worry—you can still code for Android, as the Android emulator ...

Get Learn Java the Easy Way now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.