黑莓 - 如何发送带有附件的电子邮件?

发布于 2024-08-09 22:42:40 字数 291 浏览 4 评论 0原文

在我的应用程序中,我允许用户创建图像。然后我想提供通过电子邮件发送该图像的功能。概念很简单,但执行起来有点复杂。

我的第一个想法是创建自己的电子邮件屏幕并自己发送电子邮件。我知道如何实现这一点,但我不喜欢重新发明轮子,并且想重用黑莓的电子邮件功能。

但是,我不确定黑莓的功能以及采取的最佳方法。我正在寻找有关可行性的建议和意见。

1) 拍摄图像,将其保存在手机上,打开电子邮件程序并让用户发送电子邮件

2) 将图像保存在手机上,打开电子邮件程序,以编程方式将图像附加到电子邮件并预先填充主题和身体领域。

In my application, I allow the user to create an image. I then want to give the ability to email that image. The concept is simple, but the execution is a bit more complex.

My first thought was to create my own email screen and send the email myself. I understand how to accomplish this, but I don't like re-inventing the wheel and would like to reuse the blackberry's email functionality.

However, I am unsure about the capabilities of the blackberry and the best approach to take. I'm looking for suggestions and comments on feasibility.

1) Take the image, save it on the handset, open up the email program and let the user send the email

2) save image on the handset, open up email program, programatically attach the image to an email and pre-populate the subject and body fields.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文