Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 29
Registered: ‎06-23-2009
My Device: Not Specified

Invoke.APP_TYPE_MESSAGES opens in SMS mode rather than email


I use the following code to launch the email editor.It works as expected when I use JDE 4.1 with the 7290 simulator. However, when I run the 8830 simulator from within the 4.7 JDE instead of launching in a "Compose Email" mode it launches in the "Compose SMS" mode. (NOTE: I am restricted to using the 4.1 API or below.) How do I achieve consistent behaviour?

MessageArguments msgArgs = new MessageArguments (MessageArguments.ARG_NEW, "a@a.com", "Hello there", ""); Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, msgArgs);

 





Highlighted
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Invoke.APP_TYPE_MESSAGES opens in SMS mode rather than email

Have you got a chance to test the same on device? Is it the same behaviour when you use the different Field Arugments.. like ARG_DEFAULT, ARG_NEW_SMS etc..

Use Search. "Accept Solution" If the problem is resolved.