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.wa开发者_StackOverflowitForDefaultSession().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?
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.
This is supported.
Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, new MessageArguments(message));
message is Message
class.
精彩评论