A simple login screen with options to use a stored Google account or login credentials
- Download "DualLogin.apk" file onto an Android device
- Make sure "Unknown Sources" setting is turned on, so that you are allowed to install an unsigned APK.
- Open the APK file on the Android device
- Follow the installation instructions
When testing the google account sign in, you will need to have an account already set up. However, if you don't already have an account linked on the device, the popup that displays upon hitting the Google Account button will allow you to link up a new or existing Google account!
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
This project was built so that anyone could easily start from with a baseline, generic login screen. I want to make it easy so that other Android developers don't have to reinvent the wheel. If other developers can use this sample to speed up their production of their own Android application, then the purpose of this project will be fulfilled.
Google HTTP OAuth 2.0 authentication documentation: http://developer.android.com/google/auth/http-auth.html GoogleAuth Sample app: http://developer.android.com/shareables/training/GoogleAuth.zip