利用谷歌帐户凭据发送电子邮件Android中 [英] Leverage Google account credentials to send email in Android
问题描述
是否有可能在Android的以编程方式发送邮件使用手机的相关凭据的GMail电子邮件?我可以发送电子邮件时,我明确地提供用户名和密码,但我希望能够利用已经与手机相关的谷歌帐户。请注意,我并不需要实际访问用户名或密码;我只是想间接地利用这些信息来发送电子邮件。
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.
推荐答案
它看起来像一个项目正在进行,可能会支持此功能,但我还没有来得及钻进去了。请参阅谷歌认证换机器人。
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.
这篇关于利用谷歌帐户凭据发送电子邮件Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!