views:

269

answers:

2

Is it possible in Android to programmatically send an email using the phone's associated GMail credentials? I can send an email when I explicitly provide the username and password, but I was hoping to leverage the Google account already associated with the phone. Note that I don't need to actually access the username or password; I just want to leverage this information indirectly to send email.

+1  A: 

Please see http://stackoverflow.com/questions/2112965/how-to-get-the-android-devices-primary-e-mail-address

Jim Blackler
That talks about getting the associated email address, but doesn't discuss if it's possible to send email with the user's credentials. The email address alone would not provide that capability.
ElectricDialect
A: 

It looks like a project is underway that may support this functionality, though I have not yet had a chance to dig into it. See the google-authenticator-for-android.

ElectricDialect