GithubHelp home page GithubHelp logo

lstnull / login-basics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrebts/login-basics

0.0 1.0 0.0 471 KB

登录UIThe Login Basics is an implementation of Android Login with Facebook, Google Plus (G+) and your own app login.

Java 100.00%

login-basics's Introduction

Login Basics

Login Basics is an implementation of an Android app that support Login with Facebook, Google Plus (G+) and your own login logic. The aim of this project is to serve as basis to build apps that require login as a feature.

Screenshots

Login screenshot ForgotPass screenshot Progress screenshot Required screenshot Invalid screenshot

Steps

In order to make the project ready for your app you need to:

Facebook

Google

  • Go to the Google Developers Console at https://console.developers.google.com/ and create a new project (or get to one you already have);
  • In the left sidebar, select APIs & auth (the APIs sub-item is automatically selected) find the Google+ API and set its status to ON;
  • Get a configuration file at Google Developers by:
    a) Select the correct project and package then click on Continue;
    b) Click the button on the bottom to Generate configuration files
    c) Download the google-services.json for your app and put it at the app/ or mobile/ module directory in your Android project. (The file contains configuration details, such as keys and identifiers, for the services you just enabled)

Own Logic

  • Replace the code at doInBackground on UserLoginTask at the LoginActivity to your own logic;
  • Be happy :)

Me

André Batista da Silva

License

Copyright (C) 2015 andrebtsa
Copyright (C) 2013 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

login-basics's People

Contributors

andrebts 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.