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.

inside custom component

Web and WebWorks Development

Reply
Regular Contributor
Posts: 56
Registered: ‎08-21-2012
My Device: BB10
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

Developer
Posts: 34
Registered: ‎02-06-2013
My Device: BlackBerry Z10
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

Regular Contributor
Posts: 63
Registered: ‎08-05-2013
My Device: Blackberry-10 webworks
My Carrier: zcon

Re: access to PhoneLogs in blackberry 10 webworks

I am also not able to retrieve call Logs using BB-10 webworks. If you got any solution please share it...

Regular Contributor
Posts: 63
Registered: ‎08-05-2013
My Device: Blackberry-10 webworks
My Carrier: zcon

Re: access to PhoneLogs in blackberry 10 webworks

They provide some ContactActivity API to fetch call records..But I am not able to get recods using this API. See this :- 
https://developer.blackberry.com/html5/apis/blackberry.pim.contacts.contactactivity.html

Visitor
Posts: 1
Registered: ‎05-03-2014
My Device: black berry q5
My Carrier: reliance

how to access PhoneLogs in blackberry 10 webworks

[ Edited ]

Hi

 

  I am new to web works black berry app development, in my app I have to read call log history.

  So, Could any body please help me about...  How to access call logs using webworks?

 

Thanks In Advance

Rahul