Building Android Apps: Persisting Data Locally
Android
| Intermediate
- 14 videos | 1h 44m 46s
- Includes Assessment
- Earns a Badge
Various methods can be used for persisting data locally in an Android device. App-specific files and preferences offer a lightweight and straightforward approach for storing small amounts of data, such as user settings and preferences. SQLite databases and the Room API provide a robust and efficient solution for more structured and organized data. This enables data persistence for larger datasets with powerful querying capabilities and data manipulation operations. In this course, you will learn the essential aspects of data and file storage on Android. Through hands-on practice, you will build a simple app that stores recipes locally using app-specific files. Next, you will work with storing and retrieving shared preferences, a simple yet effective method to store key-value pairs in Android. Using shared preferences, you will build features to track and utilize recently searched items and prefill forms in your app. Finally, you learn to store app details in a local SQLite database, retrieve and modify data using the SQLite API, and later connect to SQLite using the Room API.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseOutline the characteristics of data storage in androidRecognize which kind of storage to use in different scenariosCreate an http endpoint with app-specific storageUse shared preferences to store key-value dataTrack recent items using shared preferencesAutofill forms using shared preferences
-
Outline how to use sqlite to store dataIntegrate sqlite with android appsAdd and wire up a toggle switch to an android appSet up edit, view, and delete options for a restaurant appSet up the kotlin symbol processing (ksp) plugin and the room api librariesUse the room api to load data from sqliteSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 49sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
6m 31sUpon completion of this video, you will be able to outline the characteristics of data storage in Android. FREE ACCESS
-
4m 30sAfter completing this video, you will be able to recognize which kind of storage to use in different scenarios. FREE ACCESS
-
13m 23sLearn how to create an HTTP endpoint with app-specific storage. FREE ACCESS
-
9m 40sFind out how to use shared preferences to store key-value data. FREE ACCESS
-
5m 47sIn this video, discover how to track recent items using shared preferences. FREE ACCESS
-
7m 15sLearn how to autofill forms using shared preferences. FREE ACCESS
-
4m 59sUpon completion of this video, you will be able to outline how to use SQLite to store data. FREE ACCESS
-
13m 2sIn this video, find out how to integrate SQLite with Android apps. FREE ACCESS
-
6m 56sDiscover how to add and wire up a toggle switch to an Android app. FREE ACCESS
-
12m 15sIn this video, you will learn how to set up edit, view, and delete options for a restaurant app. FREE ACCESS
-
6m 52sFind out how to set up the Kotlin Symbol Processing (KSP) plugin and the Room API libraries. FREE ACCESS
-
9m 43sDuring this video, discover how to use the Room API to load data from SQLite. FREE ACCESS
-
2m 5sIn this video, we will summarize the key concepts covered in this course. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.