开发者

Blackberry - how to send email with attachment?

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.


Have a look at these two documents:

  1. How To - Create an attachment
  2. How To - Create and send messages
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜