Coder Social home page Coder Social logo

android_sign_in_sample's Introduction

Android sign in sample

Features

  • Google+ sign in
  • Google+ log out
  • Google+ revoke permissions

Screenshots:

Alt text . Alt text

Google stuff:

First of all, to access to the google+ integration api you have to create a new project in the https://code.google.com/apis/console and generate a new access key.

In the services section you have to activate the google+ api toggle.

Alt text

After that, access to the section Api Access to generate the access ID to the service,

Alt text

in the client ID dialog you have to put your debug signature key, you can generate a SHA1 certificate with:

{YOUR JDK PATH}/Contents/Home/bin/keytool -list -v -keystore {YOUR USER FOLDER}/debug.keystore

in my case....

/Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/bin/keytool -list -v -keystore /Users/lolete/.android/debug.keystore

the project has been build with android studio and gradle, to get all necesary dependencies, first you have to download the google repository that you can find in the sdk manager, after, you have to put this line in your build.gradle file, in my case is the 3.1.36 version of google play services.

compile 'com.google.android.gms:play-services:3.1.36'

You can see your available play services versions in your sdk folder:

{YOUR ANDROID STUDIO INSTALL}/sdk/extras/google/m2repository/com/google/android/gms/play-services

__

Refs

android_sign_in_sample's People

Contributors

saulmm avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.