Skip to Content
Android 9 Development Cookbook - Third Edition
book

Android 9 Development Cookbook - Third Edition

by Rick Boyer
October 2018
Intermediate to advanced
464 pages
15h 17m
English
Packt Publishing
Content preview from Android 9 Development Cookbook - Third Edition

Getting ready

Create a new project in Android Studio and call it GoogleSignIn. Use the default Phone & Tablet option and select Empty Activity when prompted for Activity Type.

Google sign-in uses the Google Services plugin, which requires a Google Services Configuration file, which is available from the Google Developer Console. To create the configuration file, you will need the following information:

  • Your application package name
  • Your signing certificate's SHA-1 hash code (see the Authenticating Your Client link at the end of the recipe for more information)

When you have the information, log in to this Google link and follow the wizard to enable sign-in:

https://developers.google.com/identity/sign-in/android/start-integrating?refresh=1#configure_a_console_name_project ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android Application Development Cookbook - Second Edition

Android Application Development Cookbook - Second Edition

Rick Boyer, Kyle Mew
Android High Performance Programming

Android High Performance Programming

Enrique López Mañas, Diego Grancini
Android Things Projects

Android Things Projects

Francesco Azzola

Publisher Resources

ISBN: 9781788991216Supplemental Content