views:

33

answers:

1

Hi, I am designing an app in which i need open an email client on clicking a button. The email client should be opened with pre defined subject,'to' address and from address of the user. Is there a way to attain this??? Plz provide me the solution and code if possible...

+2  A: 

If you want to open the existing BlackBerry messages application use the Invoke class with the appropriate MessageArguments e.g.

Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, new MessageArguments(MessageArguments.ARG_NEW, <to address>, <subject>, <body>);

I don't know of a way to change the from address.

Jonathan