04-22-2012 05:40 AM
Hi,
Is it possible to attach a file programatically to default email client of blackberry smartphone?
I don't want to create a whole new client, just open default client and programatically attach file from system.
After email is send control should return to my application.
Thanks
Abhinav Tyagi
04-25-2012 09:43 AM
Yes, this is possible. The code below shows how to send an email message with an attachment.
You can also invoke the Messages application with a draft message with attachment that the user can send. Use the code above to create the message but instead of using Transport.send to send it, use the Invoke class to invoke the Messages application using your newly created message as an argument.
06-03-2012 07:17 AM
Mark,
For this I think I need to create a new screen to ask user to add recepient address (manually) and subject and other stuff..
Can I get, default email app open on click of button and user just need to select recepient name from contact list and send email ?
Thanks
Abhinav Tyagi
06-03-2012 08:20 AM