Saving Data on Android

Saving Data on Android Ray Wenderlich
Saving Data on Android

Saving Data on Android Ray Wenderlich Book Details


Title: Saving Data on Android
Author: Jennifer Bailey, Aldo Olivares Dominguez & Dean Djermanović
Publisher: Ray Wenderlich
Language: English
No. of pages: 290
Format: PDF, EPUB, Source code


Recently I bought a set of Android Bundle include 10 Books from Ray Wenderlich. As you can see in the image above, which includes Saving Data on Android. And now I want to transfer it to you for $ 60 (10 books) Payment Via Paypal or Bitcoin, All books are the latest version and have full source code, I will share it for you for $ 60 Includes PDF, EPUB file and full source code, you can download on Google Drive. When any book have new version i will get it free for you.


List bundle 10 books: Android Bundle:

1, kotlin apprentice
2, Android apprentice
3, Advanced Android App Architecture
4, Kotlin Coroutines by Tutorials
5, Reactive Programming with Kotlin
6, Saving Data on Android
7, Android Test-Driven Development by Tutorials
8, Data Structures and Algorithms in Kotlin
9, Git Apprentice
10, Advance git
11, App design

Please contact me by Email: truonghang0207@gmail.com.

Thank you

Who This Saving Data on Android Book Is For

This book is for developers who are comfortable with Kotlin and want to implement the proper solution when managing persistence, local or remote, in Android applications.

If you’re looking for more background on the Kotlin language, we recommend our book, Kotlin Apprentice, which goes into depth on the Kotlin language itself:


If you want to learn more about Android app development in Kotlin, we recommend

working through our classic Saving Data on Android book, Kotlin Apprentice:

Section 1: Saving Data Using Android SDK

Managing persistence is one of the main features that every mobile environment should provide, and Android is no different. In this chapter, you’ll learn, through practical examples, how to use the API that Android SDK provides to persist data. You’ll learn when and how to manage persistence depending on the type and quantity of data.

Chapter 1: Using Files: Android contains most of the API of Java and so the abstractions into the java.io package which allow you to deal with Files. In this chapter, you’ll learn how to create, write, update and delete data into files. Here you’ll have the opportunity to manage security using encryption and permissions.

Chapter 2: Using SharedPreferences: SharedPreferences are useful if you need to persist a small quantity of data like texts or a set of values of primitive types. In this chapter, you’ll learn how to persist and recover a small quantity of data.

Chapter 3: SQLite Database: Android also provides SQLite as a small and powerful DataBase Management System. In this chapter, you’ll learn how to create a DB with SQLite and how to execute queries. You’ll also learn how to manage the lifecycle of a DB from the creation to the upgrade or downgrade of versions.

Chapter 4: Content Provider: Android also provides an abstraction on top of a DB SQLite or memory, that allows different applications to communicate and share information safely and securely. You can do this using ContentProvide which is one standard component of Android. In this chapter, you’ll learn how to create a ContentProvider and how to use it to make applications to communicate.

Section 2: Using Room

At Google I/O 2018, Google presented a set of new components for Android development with the name of Architecture Components. The goal was to provide a set of solutions for the most common problem in the development of Android applications. The solution for persistence is Room which is the topic of this section. You’ll learn how to use this library in the most common scenarios.

  • Chapter 5: Room Architecture: In this first chapter of the section, you’ll learn what Room is and how it works. You’ll see what the main components are, how to configure the library and start creating a Database.

  • Chapter 6: Entity Definition: You can define a database as a set of entities and relations. In this chapter, you’ll learn how to create a DB with Room starting from the entities. You’ll create, step by step, a sample application using the annotations provided by the framework.

  • Chapter 7: Mastering Relations: As said in the previous chapter, entities and relations are the most important concepts in a relational DB. In this chapter, you’ll learn how to define relations and how to read related data efficiently.

  • Chapter 8: The DAO Pattern: Data Access Object is the pattern Room has implemented to execute queries on top of a specific set of entities. In this chapter, you’ll learn how to define relations between entities and how to optimize queries between them.

  • Chapter 9: Using Room with Google’s Android Architecture Component: Room is not the only Architecture Component. Google also announced components like Lifecycle, LiveData, and DataModel. In this chapter, you’ll learn how to use Room with the other architecture components.

  • Chapter 10: Data Migration: Every Database has a lifecycle and needs to be updated. Applications continuously change and it’s important to update the schema of a DB without losing any data or relations. In this chapter, you’ll learn how to manage data migrations with Room in a simple and declarative way.

Section 3: Using Firebase

Firebase is a mature suite of products that allow you to implement Android applications that persist information in a safe, secure and reliable way. In this section, you’ll learn the fundamentals and more advanced concepts of Firebase, including Realtime Database, as well as usage and performance.

Chapter 11: Firebase Overview: In this first chapter, you’ll learn what Firebase is and why Google decided to provide a product like. You’ll learn about its history and you’ll start creating your first project using the Firebase Console. You’ll also have the first introduction to all the products of the Firebase suite.

Chapter 12: Introduction to Firebase Realtime Database: In this chapter, you’ll learn how to configure a project with the Realtime Database features provided by Firebase. This is a very important chapter because it contains configuration details that are very important also for the following chapters. You’ll learn how to download and install into your project the JSON configuration file and how to manage authentication.

Chapter 13: Reading to and Writing from Realtime Database: CRUD means Create Retrieve Update and Delete and it’s a way to summarise the main operations you can do on a DB. In this chapter, you’ll learn how to execute read and write operations into a Realtime Database from an Android application.

  • Chapter 14: Realtime Database Offline Capabilities: Mobile applications run on a device with limited resources. In particular, a phone or a tablet is not always connected to the network and some feature hs to be implemented when you need to write and read data from a remote database. In this chapter, you’ll learn how to manage data when the device is offline.

  • Chapter 15: Usage & Performance: Everything has a cost. In this chapter, you’ll learn about two important aspects of every application and in particular of every mobile application: cost and performance.

  • Chapter 16: Introduction to Cloud Firestone: You’ve already seen how to use a Firebase Realtime Database. In this chapter, you’ll learn how to use another similar product which allows you to store and synchronize data from a mobile device into a NoSQL database: Cloud Firestore.

  • Chapter 17: Managing Data with Cloud Firestore: In this chapter, you’ll learn how to set up an application into Cloud Firestore. Implementing the WhatsUp application, you’ll learn how to create a DB using the Firebase console and how to set up the main configurations.

  • Chapter 18: Reading Data from Cloud Firestore: In this chapter, you’ll continue working on the WhatsUp application and you’ll focus on implementing reading logic. In the process, you’ll learn how to read data from the Firestore, how to listen for updates in real-time, and how queries work.

  • Chapter 19: Securing Data in Cloud Firestore: In this chapter, you’ll learn what are security rules in Cloud Firestore and how to add them to your database to make your data safe.

  • Chapter 20: Cloud Storage: In this last chapter, you’ll learn how to store media files using another Firebase feature called Cloud Storage. You’ll learn how to store an image to the cloud and how to get a URL to the image to display it in your app.