Search code examples
javablackberryblackberry-jde

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?


Solution

  • 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.