Android FireBase Database

Firebase can power your app’s backend, including data storage, user authentication, static hosting, and more. We provide these services so you can focus on creating extraordinary user experiences.

What makes the FireBase powerful.
  • Firebase Realtime Database: synchronized in realtime to every connected client.
  • Firebase Authentication: built-in functionality for authenticating users with email & password, Facebook, Twitter, GitHub, Google, and anonymous auth.

  • Firebase Hosting: Deploy our web app in seconds with production-grade static asset hosting. All of our content is delivered over SSL from there global CDN.

Get Started with Firebase

Screenshot from 2016-02-26 13:46:13

NOTE: If you are getting a build error complaining about duplicate files you can choose to exclude those files by adding the packagingOptions directive to your build.gradle file:

 

  • Setup Firebase on Android

Reading data from your Firebase database is accomplished by attaching an event listener and handling the resulting events. Assuming we already wrote to myFirebaseRef above, we can retrieve the message value by using the addValueEventListener method:

Once we have a reference to your data, we can write any Boolean, Long, Double, Map<String, Object> or List object to it using setValue():

 

 

Stay Updated!!!

 

 

 

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close