Posts

Showing posts with the label cloud

Adding Firebase functionality in your app | Part 2 Creating Firebase Authentication

Introduction: In this post, we will create a Login and Registration Page with Firebase authentication, we will accept the name, email, password of the user and register the user with the Firebase auth library. Implementation: First, we need to enable authentication for our project, go to the Firebase console, select Authentication from the left panel and then sign-in method, enable email method. In AS, go-to the assistant, in the right panel, select Authentication, click connect to Firebase, it will be in green when connected, second select Add Authentication to the project, Accept changes and finish. Now you can start coding. Create an Empty Activity, named as SignUp Go to SignUp.xml and add the following XML. The XML file defines three EditText for user input and Button. Add the following java code to read the input and create an account with the Firebase If everything is done correctly, you would be able to create an account with your email, when created check...

Adding Firebase functionality in your app | Part 1 Connection

Image
Introduction :   Firebase is an online free cloud database, storage and authentication provider by Google. It can be used in mobile apps, websites, and other standalone. It provides database storage facility which is real-time, means the changes made to the database are reflected in user apps in realtime. It is suitable for personal as well as business applications. Anyone with a Google account can start working with the Firebase. I am going to post a series of articles on Firebase, so stay tuned. Connecting your Android project with Firebase : There are few ways to connect to Firebase, but I'll show a quick and easiest way which is not really documented on Google Docs. Create an Android Project with Android Studio. Sign In with Google in AS with the same account that you want the Firebase project to be with. You can log in in AS with the option in the top-right corner, then go to tools option in the options menu. Choose firebase and then the assistant will pop up fro...