寻找 Android Gmail SMTP Oauth 示例 [英] looking for Android Gmail SMTP Oauth example

查看:27
本文介绍了寻找 Android Gmail SMTP Oauth 示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么很难找到使用 Oauth 和 Google Mail 发送电子邮件的 Android 示例?

Why is it so hard to find an Android example of sending email using Oauth and Google Mail?

我是 Java 和 Android 的新手,很难解决这个问题.有可能吗?

I am new to Java and Android and am having a hard time working this out. It is possible?

我发现了这个 用于 Android 开发的 Gmail(或 POP3)库

链接到此 http://code.google.com/apis/gmail/oauth/code.html

但在任何地方都找不到可用的 Android 示例.

But no working Android examples to be found anywhere.

我希望这是可能的.我有一个应用程序可以使用此代码从用户的 Gmail 帐户发送电子邮件

I would this this is possible. I have an app that sends email from the users Gmail account using this code

http://www.jondev.net/articles/Sending_Emails_without_User_Intervention_(no_Intents)_in_in_

但我的用户不喜欢在我的应用中输入他们的 Google 密码.我不怪他们.在当今这个时代,您会认为有许多示例的简单解决方案.

But my users do not like to enter their Google password in my app. And I don't blame them. In this day and age you would think that there would be an easy solution with many examples.

那么,是否有一些示例而我只是想念它们?

So, are there examples out there and I am just missing them?

TIA

推荐答案

XOAUTH 和 Android with source code:

XOAUTH and Android with source code:

实现 SMTP 或 IMAP XOAuth

HTH

这篇关于寻找 Android Gmail SMTP Oauth 示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆