Member-only story

Cloud Firestore Basics in Android

How to Get, Add, Edit, and Delete Data in Cloud Firestore, with Real App Examples

Ash Jones
Firebase Developers
10 min readAug 20, 2020

--

In this post, I will be demonstrating how to do the basic database operations in Cloud Firestore in an Android App, using a published app I built as a practical example.

You will learn how to implement the core database operations in Cloud Firestore: how to get (read), add (write), edit, and delete data in the database in an Android app.

Note: This article does not cover setting up Cloud Firestore, Firebase Authentication for Android, and documents/collections in Cloud Firestore, which are prerequisites for this tutorial. If you are unfamiliar with these topics, I highly encourage you to read Evana Margain’s article to set up Cloud Firestore, read how to implement FirebaseUI for authentication, and watch this video to learn about documents and collections in Cloud Firestore before returning to this article.

Reply App Background

Reply is an Android app I built from scratch and published to the Google Play Store. I will use this app to provide clear, practical examples of…

--

--

Firebase Developers
Firebase Developers

Published in Firebase Developers

Tutorials, deep-dives, and random musings from Firebase developers all around the world. Views expressed are those of the authors and don’t necessarily reflect those of Firebase or its parent companies.

Ash Jones
Ash Jones

Written by Ash Jones

Philosopher. Writer. Writing about self-development, focus, eliminating distractions

No responses yet