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

Posts: 10
Registered: ‎03-21-2013
My Device: BB 8520
My Carrier: Idea Cellular

Make a phone call

From a webworks (HTML5) app, using the BB10 platform, I would like a to call a phone number. Googling yielded these: https://developer.blackberry.com/html5/api/blackberry.phone.Phone.Call.html https://developer.blackberry.com/html5/api/blackberry.invoke.PhoneArguments.html They weren't very helpful, as they are essentially blank. (they appear to be stub articles). How would one do this?

Posts: 203
Registered: ‎12-18-2012
My Device: Z10, Q10, Q5, Z30, Z3
My Carrier: Bell

Re: Make a phone call

window.location = "tel:5555555";

Bryan Higgins
BlackBerry WebWorks
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: Make a phone call

Alternatively, you could also leverage the invocation framework:

Though that would be BB10 specific as opposed to Bryan's HTML5 cross-platform approach.

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: Make a phone call

Please see this post so I know what people want


Click the like button if you find my posts useful!