Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Regular Contributor
Megha_9_dec
Posts: 56
Registered: ‎08-21-2012
My Carrier: RIM

access to PhoneLogs in blackberry 10 webworks

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

Please use plain text.
New Contributor
atmanpathak
Posts: 5
Registered: ‎02-06-2013
My Carrier: AT & T

Re: access to PhoneLogs in blackberry 10 webworks

I believe access to Phone Logs is not supported in Blackberry 10 webworks. see this link

 

https://developer.blackberry.com/html5/apis/blackberry.phone.phonelogs.calllog.html

Please use plain text.