2.6 Running the Welcome App

You’re now ready to run the Welcome app. Perform the steps shown in Section 1.9.3 to run the app on the AVDs you configured previously for both the Nexus 6 phone and Nexus 9 tablet. Figures 2.302.31 show the app running in the Nexus 6 AVD (in portrait and landscape) and the Nexus 9 AVD (in landscape), respectively. You can toggle an AVD between portrait and landscape orientations by typing Ctrl + F11 or control + F11. Typically, for apps that run on both phones and tablets, you’ll also provide a tablet layout that makes better use of the screen’s available space, as we’ll demonstrate in later chapters. If you have an Android device, you can follow the steps in Section 1.9.4 to run the app on your device.

Fig. 2.30 ...

Get Android How to Program, 3/e 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.