Firebase Example Store And Retrieve Information(Data)
This example will show how to connect with google firebase cloud service. For every application, we need the database to store the information and later we can retrieve it and show it to the user. Firebase providing this functionality. For that, f irst you need to create an account. Below link to create an account on firebase :- After that, Click on Go to Dashboard at the right corner and in dashboard Click on Create a new project and give a name to your project. Steps:- 1) Add Gradle to your project; 2) Create a Model file. 3) Crate firebase object to store data. Add the following dependacies in you Gradle file:- compile 'com.firebase:firebase-client-android:2.4.0' compile "com.google.firebase:firebase-database:9.0.0" compile 'com.google.firebase:firebase-storage:9.0.1' Create a model class according to your data. PersonDetails.java @IgnoreExtraProperties public class PersonDetails { String name; String password; public PersonDetails()...