To the newly arrived developers, Firebase database is a cloud-hosted NoSQL database. This means, Firebase is a kind of database that does not use tables and this tableless database does not store its data locally on the device, but stores them in the cloud, hence the label “RealTime”.

The main benefit of this is that your users’ application data will be available from any device that login with same credential.

Not only that, It has other capabilities too.

Now, to demonstrate how easy and simple to use Firebase is, we’re going to create android app demo with login/register (with Firebase authentication) by using Firebase Email & Password authentication.

And if you don’t know what Firebase database in Android is, It basically offers a set of authentication option right out-of-the-box. It means, Firebase automatically save your app users’ credentials (using bcrypt). It is actually a good benefit for Android developers as it separates user credentials from application data and allows you to focus on user interface & experience of your Android app.

Implementing Firebase Authentication

Create a new project under the file menu and name it. Here, we’re naming it as Firebase Realtime Database Tutorial.

In the following tab, select your Form Factor in which you want to develop your app.

In the following tab, select Empty Activity and click on Next button.

In the last tab, write Activity name for your app project and click on Finish button.

Once you create a project in Android Studio, it’s time to create a new project on Firebase Console.

First, you need to go to https://firebase.google.com/ and make an account to gain access to Firebase console. After you gain access to the console, you can start by creating your first project.

After you create a new project in Firebase, Setup Sign-In method by using email and password.

So, now that you know the basics to create a simple login/register Android app with Firebase, you can continue exploring its features. If you face any problem in this demo, you can contact our developers for help.

And with super easy and quick to implement Firebase database, there is no need of server side configuration, PHP scripts, and Database designs. You can easily store users’ credentials securely and redundantly with Firebase.

Want to Create a Real-time App? Contact us Now.

i want to plot the data that already stored in the firebase database, into line chart in android app using android studio. can you help me by showing how to do that?really appreciate it if you can help me. thank you