BlackBerry WebWorks 2.1.1, OS 6.0 / 7.0, Blackberry.pim.Appointment.find does not work

I have a simple sample application that returns the number of appointments in a calendar application that works fine in OS 5.0, but cannot find any appointments in OS 6.0 or 7.0 (I can create a meeting, but I cannot find it)

var date = new Date(); var filter = new blackberry.find.FilterExpression("start", ">=", date); var appts = blackberry.pim.Appointment.find(filter); 

or simply

  var appts = blackberry.pim.Appointment.find(); 

configuration file:

  <feature id="blackberry.system" /> <feature id="blackberry.utils" /> <feature id="blackberry.io.file" /> <feature id="blackberry.find"/> <feature id="blackberry.pim.Appointment"/> <feature id="blackberry.pim.Attendee" /> <feature id="blackberry.pim.Recurrence" /> <feature id="blackberry.pim.Reminder" /> 

I think this thread may be related to the problem that I encountered, but this indicates that the problem is fixed in WebWorks 2.0 .

Destination API

Edit:

simulators:

  • 5.0.0.975 - 9630-Verizon - OK
  • 6.0.0.141 - 9800 - ERR
  • 7.0.0.318 - 9930 - ERR

Device:

  • 6.0.0.600 - 9800 - ERR
+6
source share

Source: https://habr.com/ru/post/898407/


All Articles