开发者

Open a specific email in the blackberry email app

开发者 https://www.devze.com 2023-03-03 20:28 出处:网络
I am trying to get a blackberry message by subject and open it in the default email app. I have this so far:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号