Android Development Essential Training: 5 Storage and Databases
1h 16mBeginner2021-09-15
Authors

Annyce Davis
Engineering leader, international conference speaker, and author.
Course details
Do you want to build an application for Android? The Android Development Essential Training series teaches the basics needed to develop, design, manage, and distribute your own native Android application using the Kotlin programming language and the Android SDK. In part 5 of this course, Annyce Davis tackles storage and databases, and how you can develop apps that take advantage of a device’s storage. She shows how to use the Android file system to store and load JSON data with Moshi, how to persist data with shared preferences, and how to manage databases with Room. To close out the course, Annyce gives one last challenge to test your knowledge.
Skills covered
Android DevelopmentAndroidMobile DevelopmentGoogleEssential Training
Concepts
Introduction
- Data storage on Android
- What you should know
- Following along with the course
Read and Write Files
- Manage storage on Android
- Save files to internal storage
- Read files from internal storage
- Manage runtime permissions
- Request external storage permissions
- Save files to external storage
Persist Data in Shared Preferences
- Manage shared preferences with code
- Explore Jetpack DataStore
- Use Preferences DataStore to manage user settings
Manage Databases with Room
- Manage data with Room
- Define a database with Room
- Define SQL operations in a DAO
- Insert data with Room
- Retrieve data with Room
- ✓ Challenge - Modify data with Room
- ✓ Solution - Modify data with Room
Conclusion
- Next steps
Related courses
- Android Phone and Tablet Essential Training
- Ionic 4.0 Essential Training
- Test Automation with Python: 5 Web Browser Automation with Selenium
- Android Development Essential Training: 4 Working with Data
- Android Development Essential Training: Distributing Apps with Java
- Android Development Essential Training: Your First App with Kotlin
- Android Development Essential Training: The User Interface with Kotlin
- Android Development Essential Training: App Architecture with Kotlin