Blackberry RepeatRule

Posted by Vinay on Stack Overflow See other posts from Stack Overflow or by Vinay
Published on 2011-01-04T19:50:11Z Indexed on 2011/01/04 19:54 UTC
Read the original article Hit count: 246

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about events

Related posts about blackberry