如何将短信保存到黑莓收件箱
我有一个使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据 此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.