Android Open Source - Mail GMail oAuthSample






Project Summary

THis is a sample of sending a mail from gmail account without asking user for password or credentials. It selects first account it sees in account manager, it can be edited to ask user to select an account and so on. Help yourself..

Web Site / Source Repository

oAuthSample is hosted in the following web site
https://github.com/ayushhgoyal/oAuthSample

If you think the Android project oAuthSample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of oAuthSample.

ItemValue
Java File Count2
Target SDK Version18
Minimum SDK Version8
Activity Count1
jar files usedandroid-support-v4.jar
Required Permissionsandroid.permission.ACCOUNT_MANAGER
android.permission.GET_ACCOUNTS
android.permission.INTERNET
android.permission.USE_CREDENTIALS




Java Source Files

oAuthSample has the following Java source files.

com.ayushhgoyal.oauth.GMailOauthSender.java
com.ayushhgoyal.oauth.Home.java