01-27-2010 08:34 PM
I have an application that enumerates emails that have failed to send. I would like to open up the message in the standard email application to allow them to edit and resend them. I have the message object for each failed email.
Is there any way to do this?
I can send via my applicaiton fine, just wanted the ability to use the mail client on the phone.
01-28-2010 12:27 AM
You can use Invoke to call the Email program from your app.
However, RIM has mysteriously neglected to provide a method to invokde this app to open/view a particular email.
See Invoke and ApplicationArguments in the javadocs.
01-28-2010 01:07 AM - edited 01-28-2010 01:09 AM
Dont think there is any API to open a particular message but opening message program can be done using
Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, new MessageArguments(MessageArguments.ARG_NEW));
01-28-2010 02:05 AM
Thanks everyone for their responses. I tried passing in MessageArguments() with a Message object but comes back with some ObjectGroup read only error.
Instead I was able to pass into MessageArguments(MessageArguments.ARG_NEW,recip,su
I was hoping to use the original Message object but that does not seem to work as I was hoping.
Thanks again for everyones help.
01-28-2010 02:10 AM
I tried to fix the ObjectGroup read error by issuing ObjectGroup.expandGroup(message). but that did not seem to do anything.