如何将短信保存到黑莓收件箱

发布于 2024-10-07 16:12:33 字数 286 浏览 0 评论 0原文

我有一个使用 Blackberry MessageConnection api 发送短信的应用程序。我希望能够将发送的消息保存到设备的发件箱/收件箱,以便用户可以看到发送了哪些消息。

这是发送消息的代码片段:

returnMessage.setAddress(msg.getAddress());
returnMessage.setPayloadText(_currentMessage.getText());
_messageConnection.send(returnMessage);

I have an application which sends an SMS using the Blackberry MessageConnection api. I would like to be able to save the sent message to the Outbox/Inbox of the device, so the user can see what messages were sent.

Here's a snippet of the code that sends the message:

returnMessage.setAddress(msg.getAddress());
returnMessage.setPayloadText(_currentMessage.getText());
_messageConnection.send(returnMessage);

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心凉怎暖 2024-10-14 16:12:33

根据 此post 如果您不在 CDMA 网络上,并且您未在地址中指定端口号,则邮件应发送至已发送文件夹。

According to this post if you're not on a CDMA network and if you don't specify a port number in the address then the message should go to the sent folder.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文