07-23-2010 06:30 AM - edited 07-23-2010 06:30 AM
I want my LED only to blink for 15 minutes after I set it to blink - just like a new eMail.
But there is no overloaded method
with which I could establish this.
How is this done?
I think a timer is not possible because my application is not running all the time.
07-23-2010 06:41 AM
Unless your application is running to turn it off, I don't think there is a way using this approach.
However you might like to look at the Notifications API as a way of doing this - then the user gets to control the notification they receive.
07-24-2010 12:28 PM
Hmm, I checked the notifications but I don't think there is an option to get this working like I want it.
I wonder if there is a global timer I can run (even if my application is off) which will execute such commands.
The other possibility I thought would be creating a new message (which will possibly enable the 15 minute LED by itself) but this is not what I want.
How do other applications limit their LED blink time?
07-24-2010 01:44 PM
As the other guy said, you should look into the notifications API. BlackBerry LED notifications time out after a maximum of 15 min. All you have to do is issue a notification. Unless the user disabled LED repeat notification for your app, the LED will blink for at most 15 min after which the phone will automatically end that blinking. Try it and see.
07-25-2010 02:30 PM
I checked the notifications api but it did not help because I won't get it run.
I also checked this thread:
and tried the notification sample application but nothing happens if I use
I do not get such a profile item for my application when using this.
Also, the sample application won't get this in the simulator.
Am I doing something wrong or isn't this working in the simulator at all?
I checked it on a real device, too and it was also not working.