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
New Contributor
Posts: 2
Registered: ‎02-18-2011
My Device: Not Specified

WebWorks API + PhoneArguments

Hi all,

 

I've been developing a webworks application and everything was goign well until I tried using PhoneArguments. I followed the example however i'm getting an undefined error. I can get BrowserArguments working fine. When I use visual studio's debugged and look at blackberry.invoke I can see the BrowserArguments but not the PhoneArguments.

 

Any pointers?

 

My config.xml has the invoke and phonearguments elements in. I am trying this on the 9700 Bold v5.0.0.469 simulator.

New Contributor
Posts: 2
Registered: ‎02-18-2011
My Device: Not Specified

Re: WebWorks API + PhoneArguments

I found its easier to just put the element in an anchor and to then set the href to tel:{thenumber}

 

this works fine, why use JS when you don't need to :smileyhappy: