12-03-2012 05:47 AM
Hi,
I want to access Call-logs of my bb-10 dev-alpha 10.0.9 device. I would also like to make a call within my webworks application.
For these currently I'm making use of these two :
blackberry.phone.PhoneLogs.addPhoneLogListener(OnCallLogAdded, null, OnCallLogUpdated, OnReset); and
//Exception I'm getting is: undefined is not an object
var args = new blackberry.invoke.PhoneArguments('555-555-5555', true);
args.view = blackberry.invoke.PhoneArguments.VIEW_CALL;
blackberry.invoke.invoke(blackberry.invoke.APP_PHONE, args);
//Exception I'm getting is: undefined is not a constructor
I've added required features as well in config.xml
<feature id="blackberry.phone.Find" />
<feature id="blackberry.phone.PhoneLogs" />
<feature id="blackberry.invoke" />
<feature id="blackberry.invoke.PhoneArguments" />
Can anyone please help ?
Regards,
Megha
02-06-2013 02:33 PM
I believe access to Phone Logs is not supported in Blackberry 10 webworks. see this link
https://developer.blackberry.com/html5/apis/blackb