New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
jayandro
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 10
Join Date: Nov 2008
Default Send email programmatically using user account

I want to be able to send an email out of my app, based on the user pressing a button on my app's Activity. The email needs to be sent automatically by the application upon button press, i.e. I dont want to show another email form to the user. And the email should be sent ***using the user's default email account on the phone*** not an email account that I hardcode into my app. And I dont want to have the user key in their email credentials into my app's configuration, I just want to be able to call some android api and say "send this email with this subject and body to this email address, using the default account that the user has set up on the phone".

Is this possible? If so, how?
thanks
Jay
 
maxdamage2122
Old
#2  
Senior Member
Thanks Meter 205
Posts: 712
Join Date: Nov 2007
Why would you make another thread with your same exact question?

http://forum.xda-developers.com/showthread.php?t=453329

noobs
Tags
android, api, email, send