views:

381

answers:

1

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.

+1  A: 

Have a look at these two documents:

  1. How To - Create an attachment
  2. How To - Create and send messages
Richard
Those are excellent resources. I'm wondering if it is possible to use the Messages application to send the attachment from my program.The messages application is integrated with your contacts and has nice editing capabilities that I would prefer to not recreate.
yamspog