In this video, Doug Winnie reviews the structure of the exercise files that are used for this course.
- [Instructor] There are exercise files that go with this course. There are two ways you can get these files. The exercise files are available via the course page, or from GitHub. The link for the files on GitHub is github.com/sfdesigner/androidDevBasics. When you download and extract the compressed file, you'll see a folder for each video that includes a coding example. Inside, there is a start folder that you can use to start the coding lesson. The code for each project is created as an Android Studio project.
To open in Android Studio, you need to open a specific file that the IDE will use to build your coding environment. To open a project, go to Android Studio, select open an existing Android project, then navigate to where you have downloaded and expanded the exercise file archive. In this case, I've put it on my desktop in the folder called Exercise Files, and inside there's a folder called Ch04, and then one for each movie. I'll open the first one. When you navigate into this folder, you'll see a DiceOut folder with an Android Studio icon.
Select that and click okay. Android Studio will then use that file, and then open up the project. When it loads the project, it will then create a test build just to make sure that everything is configured correctly. When it opens a project, it won't display an initial file. To display the project, go to the project panel located on the left hand side. Inside here, we can now access the code for our particular project.
- Installing Android Studio
- Coding in Java and XML
- Getting a head start with starter templates
- Working with emulators
- Creating a project, variable, and toast
- Connecting XML widgets to code
- Adding images
- Adding game logic with conditional statements and operators
- Changing the data or design