BlackBerry WebWorks 2.1.1,OS 6.0 / 7.0,blackberry.pim.Appointment.find无效

时间:2011-09-30 20:17:11

标签: blackberry blackberry-webworks

我有一个简单的示例应用程序,可以在日历应用程序中返回约会数量,在OS 5.0中可以正常工作,但在OS 6.0或7.0中找不到任何约会,(我可以创建一个约会,但是找不到它)

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

或只是

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

配置文件:

 <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 might be related to the problem I'm having, but it indicates that the problem has been fixed in WebWorks 2.0

Appointment API

编辑:

模拟器:

  • 5.0.0.975 - 9630-Verizon - 好的
  • 6.0.0.141 - 9800 - ERR
  • 7.0.0.318 - 9930 - ERR

设备:

  • 6.0.0.600 - 9800 - ERR

0 个答案:

没有答案