- This course is accompanied by exercise files that you can use to follow along with the development process. I've copied the exercise files to my desktop. But you can place them anywhere on your hard disk. You can choose to build the plain old notes application along with me using just the files in the Assets folder. This contains a launcher icon graphic and a folder named Drawable that already has various versions of three different icon graphics. Alternatively, you can use the beginning projects for each exercise; they're arranged by chapter.
To use any of these projects, go to the Welcome screen and choose Import Project, then navigate to the project you're interested in. I'll choose Material Design in the Getting Started folder. Click OK and after a moment the project should be imported into Android Studio. If you see this dialog indicating a change in language level, click Yes to reload the project.
These projects were built with Android Studio 1.1 and Build Tools version 22.0. To ensure compatibility with these projects, go to the Android SDK Manager and make sure that you've installed Android Build Tools 22. Alternatively, you can open the project's build.gradle file and change the Build Tools version here to whatever version you actually have. But you would need to do that in each and every project.
To test your application you can use a physical device that's set up for USB debugging or you can use a virtual device. I'll be primarily testing and demonstrating using a virtual device that emulates a Nexus 5 running API 22, that's Android 5.1. I've set it up with a certain scale to fit on my screen and then in the Advanced Settings I've accepted most of the defaults. For my purposes I've made sure to enable keyboard input.
As always, it's good to test the app on a variety of devices, and this is the range of virtual devices that I create, starting with the Nexus 4 and going through to a Nexus 6 and going from API 15, that's Ice Cream Sandwich, to the latest, API 22, Android 5.1, Lollipop. In addition to the beginning projects I've also provided the completed solutions. You'll find these under the Solutions folder and each of these projects is a finished version of an exercise from the course.
Building a Note-Taking App for iOS 8 and Building a Note-Taking App for Windows Phone 8 and Windows Store use the same assets to develop a similar app. Compare and contrast the steps and discover the similarities and differences between the three platforms.
- Understanding Android UI and data management patterns
- Creating an Android Studio project
- Customizing material design theme colors
- Defining an SQLite database structure
- Managing data with ContentProvider and Loader classes
- Retrieving and displaying data
- Customizing data display with a CursorAdapter
- Creating, updating, and deleting notes
- Preparing the app for deployment