Abs
Abs

Reputation: 57926

Open a specific email in the blackberry email app

I am trying to get a blackberry message by subject and open it in the default email app. I have this so far:

Store store = Session.waitForDefaultSession().getStore();
Folder folder = store.getFolder("Inbox");
Message[] msgs = folder.getMessages();
Message msg = msgs[0];

But how would I open the message once I have a handle on it?

Upvotes: 6

Views: 383

Answers (2)

user1983864
user1983864

Reputation: 7

This is supported.

Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, new MessageArguments(message));

message is Message class.

Upvotes: 0

Swati
Swati

Reputation: 52757

This isn't supported by the BlackBerry API yet. You would have to write your own custom email viewer.

BlackBerry API only has support for using the email app to write a new message. See more in this thread or this. Best you can do is post your question on the RIM forums so that they see a need for this.

Upvotes: 2

Related Questions