Tutorial by Examples

Complete the Installation and setup to connect your app to Firebase. This will create the project in Firebase. Add the dependency for Firebase Realtime Database to your module-level build.gradle file: compile 'com.google.firebase:firebase-database:9.2.1' Configure Firebase Databa...
ThesetValue() method overwrites data at the specified location, including any child nodes. You can use this method to: Pass types that correspond to the available JSON types as follows: String Long Double Boolean Map<String, Object> List Pass a custom Java object, if the cla...
Before understand require to follow some setup for project integrate with firebase. Create your project in Firebase Console and download google-service.json file from console and put it in app level module of your project, Follow link for Create Project in console After this we require to...
Create class and add imports to parse information: import com.google.firebase.database.FirebaseDatabase; import com.google.firebase.database.IgnoreExtraProperties; //Declaration of firebase references private DatabaseReference mDatabase; //Declaration of firebase atributtes public Stri...

Page 1 of 1