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

412 Stars 143 Forks 28 Commits 2 Opened issues


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

# 204,806
16 commits
# 331,649
4 commits
# 460,485
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.



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


  • Create an Facebook app at;
  • Replace the value of facebookappid at strings.xml;


  • Go to the Google Developers Console at 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 :)


André Batista da Silva * LinkedIn andrebts * [email protected]


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

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.