BlackBerry-提醒和短信功能实施 [英] BlackBerry - Reminder and SMS feature implementation

查看:125
本文介绍了BlackBerry-提醒和短信功能实施的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在BlackBerry 4.7 Storm设备上进行开发.

I am developing on BlackBerry 4.7 Storm device.

提醒:

我的应用程序将允许用户输入数据并设置日期和时间来提醒笔记.有人可以建议我在该特定日期和时间如何处理带有一些小描述的提醒"吗?我应该使用什么API或代码来处理提醒警报? 我也想在此提醒中添加重复性,以便它根据可用重复性来提醒. BB是否支持重复和提醒API?

My application will allow user to enter data and set Date&Time to remind the notes. Can someone please suggest me how do i handle "reminder with some small description" at that particular Date&Time? What API or code should i use to handle reminder alarm? I also want to add recurrence in this reminder, so that it will remind based on the available recurrence. Does recurrence and reminder API supported in BB?

它应该具有以下功能: 1.每当发生生日时提醒我生日(我永久保留我应用中的那个特定用户DateOfBirth).它可以在警报或对话框中显示,并带有小描述信息.提醒警报应该能够显示即使我的应用程序尚未启动(打开).

It should do the following features: 1. Remind Birthday whenever it occurs(i am stroring that particular user DateOfBirth in my app persistent). It can show in alert or dialog with a smal description message. Reminder alert should be able to show even my app is not launched(opened).

  1. 提醒应处理重复发生.如果为该特定的DateOfBirth提醒启用了重现,则提醒警报应该能够处理重现功能.

短信:

如果我想开发自己的应用程序,该应用程序能够在后台将带有预定义文本的SMS自动发送到特定号码,该怎么做?我的应用是否可以(或)允许用户单击发送"类型的按钮,该按钮会将用户带到内置SMS应用并允许发送?

If i want to develop my application, which will be able to send SMS with predefined text automatically in the background to the particular number, how to do that? Is it possible, (or) my app will allow user to click "Send" kind of button which will take user to built-in SMS app and allow to send?

请给我一些链接(或)示例源以供查看?

Please give me some link (or) sample source to have a look?

谢谢.

推荐答案

您可以使用发送和接收使用RIM API在Blackberry上的GSM SMS

You can use Alert and Dialog notifications for reminder.
Yes, it's possible to open sms application, see this article:
Sending and receiving GSM SMS on Blackberry using RIM APIs

更新
我不知道BlackBerry中的提醒API.
要在不运行应用程序的情况下显示提醒,可以尝试 BlackBerry PushRegistry操作方法
将PushRegistry与SMS通讯结合使用

UPDATE
I don't know about reminders API in BlackBerry.
To show reminder without having your app running, you can try PushRegistry class, although you'll have to create some MIDlet to show this reminder message:
BlackBerry PushRegistry How-To
BB KB How To - Register a MIDlet with the PushRegistry
BB KB How To - Create an auto-start MIDlet using the PushRegistry
BB KB How To - Create an auto-start MIDlet
Using PushRegistry with SMS Communication

这篇关于BlackBerry-提醒和短信功能实施的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆