Blackberry RepeatRule
- by Vinay
Hi All,
I am very new to Blackberry development.
I am trying to access the Blackberry Events (Calender) list.
Currently, I am able to read the basic information from the event list.
I am stuck in getting the info regarding the RepeatRule.
My code is as below:
EventList eventList = (EventList)PIM.getInstance().openPIMList(PIM.EVENT_LIST, PIM.READ_ONLY);
Enumeration e = eventList.items();
while (e.hasMoreElements()) {
Event event = (Event)e.nextElement();
RepeatRule rRule = event.getRepeat() ;
if (rRule != null) {
fieldIds = rRule.getFields() ;
// Here I get the values as { 0,128,64,2}. How do I decode this information?
}
}
Can any one help in decoding this information. Any kind of links, examples or pointers would be of great help.
Thanks and regards,
Vinay