Reader small image

You're reading from  Android Wear Projects

Product typeBook
Published inJul 2017
Reading LevelIntermediate
PublisherPackt
ISBN-139781787123229
Edition1st Edition
Languages
Right arrow
Author (1)
Ashok Kumar S
Ashok Kumar S
author image
Ashok Kumar S

Ashok Kumar S has been working in the mobile development domain from about eight years. He is a Google certified engineer, speaker at global scale conferences and he also runs a youtube channel (AndroidABCD) for Android developers. He is an early Firebase adopter since before Google acquired Firebase. He is Computer Science and Engineering graduate who is completely passionate about innovation in technology. He contributes to open source heavily to improve his e-karma. Ashok has also written a book on Wear OS programming through a project approach.
Read more about Ashok Kumar S

Right arrow

Installing Firebase


For Firebase, perform the steps:

  1. Visit the Firebase console https://console.firebase.google.com:
  1. Choose Add project in the console and fill the necessary information about the project. After the project is added, you will see the following screen:
  1. The get started page helps you set up the project for different platforms. Let's choose the second option, which Add Firebase to your Android app:
  1. Add the project package name and, for further security purposes, you can add the SHA-1 fingerprint, but that is optional. Now register the app:
  1. Download the config file. The google-services.json file will have all the important configuration for the app and it in the app directory of your project structure.

Now, let's fire up Android Studio and create the project:

Make sure the package name is the as the one mentioned in the Firebase console.

Let's choose the targeted platforms that are both phone and Wear:

Now, add Empty Activity to the activity chooser:

Select Blank Wear Activity in...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Android Wear Projects
Published in: Jul 2017Publisher: PacktISBN-13: 9781787123229

Author (1)

author image
Ashok Kumar S

Ashok Kumar S has been working in the mobile development domain from about eight years. He is a Google certified engineer, speaker at global scale conferences and he also runs a youtube channel (AndroidABCD) for Android developers. He is an early Firebase adopter since before Google acquired Firebase. He is Computer Science and Engineering graduate who is completely passionate about innovation in technology. He contributes to open source heavily to improve his e-karma. Ashok has also written a book on Wear OS programming through a project approach.
Read more about Ashok Kumar S