从 BlackBerry Simulator 发送短信
我正在开发一个 BlackBerry 应用程序,我应该在其中从 BlackBerry 设备发送短信。 由于我是黑莓的新手,几天前开始我无法继续。
任何人都可以帮助提供从 BlackBerry 设备或模拟器发送短信的代码片段吗?
提前致谢。
苏雷什。
I'm developing a BlackBerry Application where I should send Text SMS from BlackBerry Device.
As I'm new to Blackberry, started few days back I'm unable to proceed.
Can anyone Help with providing code snippets for send SMS from BlackBerry Device or Simulator?
Thanks in Advance.
Suresh.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看上面的代码功能....从黑莓发送短信
Check out the the above code function .... to send SMS from Blackberry
您还没有指定要使用哪种语言进行开发,但如果您使用 java 进行开发,并且使用 Eclipse 和 Blackberry Java 插件进行开发,您将在插件文件夹层次结构中找到大量示例应用程序。实际位置取决于您安装 Eclipse 的位置,但例如在我的计算机上,它们位于:C:\Program Files\Eclipse\eclipse 3.6.2 BlackBerry\plugins\net.rim.ejde.componentpack7.0.0_7.0.0。 OS7 示例的 33\components\samples\com\rim\samples\device。您安装的不同操作系统插件都会存在类似的示例。
大多数操作系统示例集中都有一个名为 smsdemo 的长期示例,它应该为您提供所需的所有代码。即使您不是使用 Java 进行开发,此示例也应该为您指明满足您的需求所需采取的路径。
You haven't specified what language you are developing in, but if you are developing in java and, if you are using Eclipse for your development with the Blackberry Java plugins, you will find a wealth of sample applications in the plugins folder hierarchy. The actual location will depend on where you have installed Eclipse, but e.g. on my machine they are at: C:\Program Files\Eclipse\eclipse 3.6.2 BlackBerry\plugins\net.rim.ejde.componentpack7.0.0_7.0.0.33\components\samples\com\rim\samples\device for the OS7 samples. Similar samples will exist for the different OS plugins you have installed.
There is a long standing sample in most OS sample sets called smsdemo which should give you all the code you need. Even if you are not developing in java, this sample should give you an indication of the path you need to take to fulfil your requirement.