开发者

Sending a file by email

I have a question about how to send email in android.

My app creates an xml file, and I want the application to send this file via email.

I have a button to send mail, but I don't know attach the file. I have been reading this tutorial and the send mail function of my app is 开发者_如何学运维similar: http://mobile.tutsplus.com/tutorials/android/android-email-intent/

My second problem is finding a way to get an email address from the address book. Anyone have a tutorial on this?


This has been discussed many times already.


How to attach a file to mail in android phones

hold on a second on a file which you want to send it will pop up options like send via, Bluetooth,mail,wifi etc. select mail if you have connected with the internet it will ask the mail options select a configured mail like gmail it will automatically attach to mail.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜