Hi all, I've been doing quite a bit of googling on this topic and so far despite several examples that seem to fit the bill, nothing quite takes me to an understanding of whether or not I can obtain a device owner's permission to send email out on their behalf. I am testing examples of AccountManager#getAuthToken, but I am not sure if it's possible, even with a pop-up dialog asking the user (in my app) for their permission to do so.. whether or not I can obtain a token that can then be used with gmail api's to send out email with. I know there is the GMailSender example that uses username/password, but naturally that's not going to fly with end users.. at least most of them would not allow my app to store their username/password for gmail. Given that as far as I know just about everyone with an android device sets up a google account and thus can use gmail (even if they dont).. I was hoping there is a way I can ask the user for permission to use their account info to send out emails from their device as if they had manually sent the email. The purpose is not to send out spam emails or bad emails.. my app would send out emails exactly the way a user would without my app.. only my purpose is to save them time. In other words, the end user, reading my app description, will understand that my app is intended to save them time and would use it for that reason, so typically they would allow my app on their behalf to send gmail emails out for them to save them time.
So.. is that possible? Is there a google api that takes an auth token, instead of user/password to send emails out with? I liken this to a site asking a user to use Facebook to login.. if a user accepts, that site has a token for some amount of time they can use to log in the user via facebook login. I'd like to do the same thing in my app.. only with various apis, google mail being one of them. Thank you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

