This course is accompanied by exercise files that you can use to follow along with the demonstrations. The Exercise Files folder, which you can download from the course page, includes just one Android project, an app for a fictional company named Nadia’s Garden Restaurant. You can follow along with this course either with this project, or with any other Android Studio project. If you want to open this project in Android Studio, here's how you would do it.
- [Instructor] This course is accompanied by exercise files that you can use to follow along with the demonstrations on screen. I've copied the exercise files to my desktop, but you can place them anywhere on your hard-disk. There are four sub-directories in the exercise files directory. The first directory is called Assets. It contains a sub-directory called Store Graphics and these are screenshots and one feature graphic that I've created for use in the Google Play store. I'll show you how to create these graphics during the course. But you can use these finished versions if you like.
Next, there are a couple of chapter folders. Each of these contains a version of an application called Nadias Restaurant. Each of these is an Android Studio project. You can open any of these projects from Android Studio by selecting Open an existing Android Studio project from the welcome screen and then you can navigate to the desktop. You can press Control + D on Windows, or Command + D on Mac, to jump to the Desktop directory. Then open the chapter and video sub-directory and find the directory with the Android Studio icon, indicating that it's a project directory.
Then click OK. And that will open up the project. The first time you open any of these projects, you might be prompted to update your copy of the Gradle plugin or you might be prompted to upgrade various components of the projects themselves, depending on which version of Android Studio you are using. If you see one of these dialogs just click Update. And if you're prompted to download certain components of the SDK, follow those prompts as well. Once you've downloaded everything that's needed for the project, and after the project has been rebuilt, you should then be able to immediately deploy the app on a virtual or physical device.
For this course, I'm using a combination of physical and virtual devices. This is a physical device. A Google Pixel running on Android 7.1. I'm projecting the Pixel's screen to my computer screen using a product called Reflector 2. But when I run the app here, I'm actually running it on a physical device. With the device connected to my computer with a USB cable and with the USB debugging tool turned on, I can see that my Google Pixel is appearing and is ready for deployment.
I can then click the Run button, choose the device, Indicate that I want to use the same selection for future launches, and that will then package the app and deploy it to the device. If you like you can use virtual devices as well. And I always recommend testing an application on as many different screen sizes and pixel densities as you can. That would require a lot of physical devices if you only used those, and so the Android emulator and the virtual devices that you can create, in as much quantity and variety as you need to, are invaluable to making sure your app runs on as wide of variety of devices as possible.
Each of these projects is pretty much the same project and in fact you can follow through most of this course using your own Android app if you like. The solutions directory contains the final version of each of these projects, and you can compare the code and generated files in the solutions to the original projects to see the differences between them.
- Packaging apps in APK files
- Building a signed APK file
- Distributing through Google Play
- Adding app graphics
- Setting pricing
- Publishing the app
- Submitting an app to Amazon
- Tracking app use in Google Play and Amazon