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.Answer1:
Have a look at these two documents:<ol><li><a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800698/How_To_-_Create_an_Attachment.html?nodeid=800544&vernum=0" rel="nofollow">How To - Create an attachment</a></li> <li><a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800698/How_To_-_Create_and_send_messages.html?nodeid=1008283&vernum=0" rel="nofollow">How To - Create and send messages</a></li> </ol>