Need help with login-basics?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

andrebts
412 Stars 144 Forks 28 Commits 2 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 193,602
Java
C#
nfe
16 commits
# 319,698
Java
4 commits
# 451,124
Java
1 commit

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

Steps

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

Facebook

  • Create an Facebook app at https://developers.facebook.com/apps/;
  • Replace the value of facebookappid at strings.xml;

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 * LinkedIn andrebts * [email protected]

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.