English 中文(简体)
BlackBerry - Reminder and SMS feature implementation
原标题:

I am developing on BlackBerry 4.7 Storm device.

Reminder:

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?

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. Reminder should handle recurrence. If there is a recurrence enabled for that particular DateOfBirth reminder, then reminder alarm should be able to handle recurrence feature.

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?

Thank you.

最佳回答

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

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

问题回答

I don t know if I ve understood your question well but here is answer according to what I ve got. You can use J2ME PIMs library which is personal information management system BB also implements PIM in its API. It is up to you which you want to use. BB deals with three stuff. ToDO list, Event(Calander) and contacts. From this API you can attach a listener or anything to it. Just google PIM api JME and Blackberry you will found thousands of examples





相关问题
Alert email in TFS and power tools

I have a problem with TFS and email notifications. I can not receive any emails from TFS server for work item tracking. I correctly have configured web.config in ...Web ServicesServices in TFS ...

3 notifications instead of one

I m developing simple MVC app in Cocoa/Objective-C. I have a strange issue (or misunderstanding) with notifications and KVO. I have AppController object in MainMenu.xib, hence I implement ...

Notification when laptop is switch on (boot)

I need to know, is that possible to get a notification through email whenever my laptop is switched on or is connected to internet ? An alternative is to get notification when set service Starts on ...

Feedback service for Push notification

I wrote the below script to read the feedback data. But, for some reasons, I am not receiving any data from the server. Can you kindly let me know whats wrong with the script. Also, if you have any ...

热门标签