Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
634 views
in Technique[技术] by (71.8m points)

email - looking for Android Gmail SMTP Oauth example

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

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

I have found this Gmail (or POP3) library for Android development

Which links to this http://code.google.com/apis/gmail/oauth/code.html

But no working Android examples to be found anywhere.

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_Android

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

XOAUTH and Android with source code:

Implementing SMTP or IMAP XOAuth

HTH


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...