Building Android Apps: Persisting Data Locally

Android    |    Intermediate
  • 14 videos | 1h 44m 46s
  • Includes Assessment
  • Earns a Badge
Rating 4.0 of 5 users Rating 4.0 of 5 users (5)
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 course
    Outline the characteristics of data storage in android
    Recognize which kind of storage to use in different scenarios
    Create an http endpoint with app-specific storage
    Use shared preferences to store key-value data
    Track recent items using shared preferences
    Autofill forms using shared preferences
  • Outline how to use sqlite to store data
    Integrate sqlite with android apps
    Add and wire up a toggle switch to an android app
    Set up edit, view, and delete options for a restaurant app
    Set up the kotlin symbol processing (ksp) plugin and the room api libraries
    Use the room api to load data from sqlite
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 49s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 6m 31s
    Upon completion of this video, you will be able to outline the characteristics of data storage in Android. FREE ACCESS
  • Locked
    3.  App-specific Files and App Preferences
    4m 30s
    After completing this video, you will be able to recognize which kind of storage to use in different scenarios. FREE ACCESS
  • Locked
    4.  Working with App-specific File Storage
    13m 23s
    Learn how to create an HTTP endpoint with app-specific storage. FREE ACCESS
  • Locked
    5.  Storing and Retrieving Shared Preferences
    9m 40s
    Find out how to use shared preferences to store key-value data. FREE ACCESS
  • Locked
    6.  Using Shared Preferences to Track Recently Searched Items
    5m 47s
    In this video, discover how to track recent items using shared preferences. FREE ACCESS
  • Locked
    7.  Using Shared Preferences to Prefill Forms
    7m 15s
    Learn how to autofill forms using shared preferences. FREE ACCESS
  • Locked
    8.  Store Data Locally in Databases
    4m 59s
    Upon completion of this video, you will be able to outline how to use SQLite to store data. FREE ACCESS
  • Locked
    9.  Working with Data in a SQLite Database
    13m 2s
    In this video, find out how to integrate SQLite with Android apps. FREE ACCESS
  • Locked
    10.  Filtering Restaurants Based on Active State
    6m 56s
    Discover how to add and wire up a toggle switch to an Android app. FREE ACCESS
  • Locked
    11.  Editing, Viewing, and Deleting Restaurants
    12m 15s
    In this video, you will learn how to set up edit, view, and delete options for a restaurant app. FREE ACCESS
  • Locked
    12.  Enabling the KSP Plugin for the Room API
    6m 52s
    Find out how to set up the Kotlin Symbol Processing (KSP) plugin and the Room API libraries. FREE ACCESS
  • Locked
    13.  Room API Components for SQLite Access
    9m 43s
    During this video, discover how to use the Room API to load data from SQLite. FREE ACCESS
  • Locked
    14.  Course Summary
    2m 5s
    In 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.

YOU MIGHT ALSO LIKE

Rating 4.0 of 5 users Rating 4.0 of 5 users (5)
Rating 4.0 of 2 users Rating 4.0 of 2 users (2)
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 11 users Rating 4.4 of 11 users (11)
Rating 4.6 of 34 users Rating 4.6 of 34 users (34)