views:

114

answers:

1

I have a Blackberry Curve 8310 running OS v4.5.0.182 that I am writing an app for, using the 4.5.0 JDE API in Eclipse against JRE v6.

I have Facebook installed and it was able to create its own calendar (I have 3 calendars total - the default calendar, a calendar for my Blackberry email address, and a calendar for Facebook).

According to Blackberry documentation, v4.6 is needed in order for apps to programmably access multiple calendars. However, I see that the javax.microedition.pim.PIM class in v4.5 supports querying and opening multiple PIM lists of a given type (such as a calendar). I have not tried it yet, but the native Calendar app can access all 3 calendars just fine, and Facebook has no trouble storing events that do not appear in the other calendars.

Does anyone know how Facebook was able to create and manage its calendar? Is it somehow creating a separate PIM database on the phone, or even a lower-level PIM provider/implementation that somehow integrates into the PIM API?

My app is a financial program. It will have scheduled reminders for when the user needs to pay bills and such, so I thought using a separate calendar would be good for that.

Edit: After doing some research, it seems that Facebook has installed its own CICAL service book for its own calendar. Now the question is, how do I make/obtain my own service book for my app?

A: 

Which Facebook app are you using? If it is the one by RIM that may be your answer. RIM is famous (infamous?) for using unpublished APIs in their own applications.

Richard
I am using the one linked to on Facebook's website: http://www.facebook.com/apps/application.php?id=2254487659, which is indeed developed by RIM itself.
Remy Lebeau - TeamB