Essential Android Firebase Realtime Database edit forum

Quick setup

  1. Complete the Installation and setup part to connect your app to Firebase.

This will create the project in Firebase.

  1. Add the dependency for Firebase Realtime Database to your module-level build.gradle file:

compile ‘com.google.firebase:firebase-database:10.2.1’

  1. Configure Firebase Database Rules

Now you are ready to work with the Realtime Database in Android.

For example you write a Hello World message to the database under the message key.

// Write a message to the database
FirebaseDatabase database = FirebaseDatabase.getInstance();
DatabaseReference myRef = database.getReference("message");

myRef.setValue("Hello, World!");

Table Of Contents
39 ACRA
64 Menu
112 Loader
119 Xposed
132 Colors
135 Fresco
140 AdMob
143 Firebase Realtime Database
147 Button
156 Vk SDK
170 XMPP
176 OpenCV
200 FileIO
203 Moshi
217 Paint
231 AIDL
241 JCodec
243 Okio
255 Looper
  ↑ ↓ to navigate     ↵ to select     Esc to close