I need a Blackberry 5.0+ widget which will reside on the Blackberry desktop that will display three bars (see attached) showing the three nearest appointments in the Blackberry's calendar.
The widget needs to be able to be "always-on-top", so the widget can be on top of other applications. The user can change this setting (it should be OFF by default).
The widget will also need to flash and sound an alert when the appointment time has been reached.
More details about this project are below.
## Deliverables
Further details:
The user should be able to long-press the widget to open the settings screen. The settings screen is described at the end.
The widget should display three bars, representing the three nearest appointments in the calendar. If an appointment is more than 8 hours in the future, the bars should show "No Appointment" (NOTE: the user can change the time from 8 hours to a time span they choose).
The user can change the appointment time colors in the settings screen (see below).
When an appointment is within the Green appointment time (the appointment is 5 hours or further in the future), the green bar should show along with the time of the appointment and how many hours from now the appointment will start. Example: 12:00pm - 5 hours. Example: 12:15pm - 5.5 hours
When an appointment is within the Yellow appointment time (the appointment is 3-5 hours in the future), the yellow bar should show along with the time of the appointment and how many hours from now the appointment will start. Example: 12:00pm - 4 hours. Example: 12:15pm - 4.5 hours
When an appointment is within the Red appointment time (the appointment is 1.5-3 hours in the future), the red bar should show along with the time of the appointment and how many hours from now the appointment will start. Example: 12:00pm - 2 hours. Example: 12:15pm - 2.5 hours
**Attached are examples of how the widget should look for different appointment times.
**
**Settings screen**
The user should be able to long-press the widget to load the settings screen. The settings screen should have these options:
* "No Appointments" notification time (default is 8 hours) (slider)
* Green appointment time (5 hours) (slider)
* Yellow appointment time (3 hours) (slider)
* Red appointment time (1.5 hours) (slider)
* Play alert sound when appointment starts (default is true) (checkbox)
* Widget is always on top of other applications (default is false) (checkbox)
NOTE: The green/yellow/red times
**cannot** overlap. For example, you cannot set green to 5 hours, yellow to 2 hours, and red to 3 hours. Green must be greater in value than yellow. Yellow must be greater in value than red.