- You can try out the finished version of the Plain Ol' Notes App on an Android device that's been set up for development. Connect your device to your computer with USB debugging turned on. Then in Android Studio, import a project. Choose the PlainOlNotes app from the Finalize folder under the Exercise Files. If you see the Language Level Changed dialog, click Yes to reopen the project.
Then go to the Android tab. You should see your device connected. If you don't see the device, check the instructions in Android Studio Essential Training for connecting a physical device. Then you can run the app. When you click the Run button on the toolbar, after a few moments, you should see your device display. Click OK to run the app on the device. When the app opens, it displays the app name in the toolbar at the top, and a floating action button at the bottom right.
I'll touch the floating action button with the plus icon, and I'll touch the editor area, and I'll type a simple note. Then to save my note, I'll touch the back arrow on the toolbar. I can create a set of sample data by going to the Options menu and then choosing Create sample data. I can then open any of these notes by touching them in the list, and I can make changes and save them by once again going back to the list screen.
To delete one note, touch the note, and then in the editor screen, touch the trash can icon, and that deletes the note. To delete all notes, go to the Options menu again and choose Delete all notes, and then touch OK to confirm, and you'll be back to a blank slate with the app and the database empty.
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