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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Contributor
Posts: 44
Registered: ‎11-12-2012
My Device: BB 10 Dev Apha
My Carrier: -
Accepted Solution

invocation framework and phone calls

Hi All,

is there a way to start a phone call on BB10 from a uri like this: "tel:55555555"?

I've tried the following:

 

    blackberry.invoke.invoke({
        uri: "tel:5555555555"
    }, onSuccess, onError);
 
but i got a "INVOKE_NO_TARGET_ERROR"..
do you know which "target" I am expected to provide?
 
Thanks a lot
 
-marco
Retired
Posts: 245
Registered: ‎09-21-2012
My Device: Q10
My Carrier: Virgin

Re: invocation framework and phone calls

Have you tried the action bb.action.DIAL?

 

  1. action: "bb.action.DIAL"
  2. uri: "tel:416-123-4567"
@erikjohnzon
erjohnson@blackberry.com
Contributor
Posts: 44
Registered: ‎11-12-2012
My Device: BB 10 Dev Apha
My Carrier: -

Re: invocation framework and phone calls

Hi, 

I tried it right now, but got still the same error..please help!

The same behaviour happens both in the emulator and on the real device..I was wondering if I can bypass this by using something equivalent to the former blackberry.invoke.APP_PHONE object..

thanks

Highlighted
Retired
Posts: 245
Registered: ‎09-21-2012
My Device: Q10
My Carrier: Virgin

Re: invocation framework and phone calls

You don't have a Phone application on your device do you? If you are running a Dev Alpha you do not. Both your invoke, as well as the one I provided you work as desired.

 

You have 2 choices:

 

1. Wait for a OS update with a Phone app,

1. Create a simple app that registers with the invocation framework as a phone application. So that it can listen to the specific URI.

@erikjohnzon
erjohnson@blackberry.com
Contributor
Posts: 44
Registered: ‎11-12-2012
My Device: BB 10 Dev Apha
My Carrier: -

Re: invocation framework and phone calls

Hi Erik,

thanks a lot for your info..I'm gonno ask you just one last question: the same apply if I want to manage "mailto:"?

Thanks again

cheers

-.marco

Retired
Posts: 245
Registered: ‎09-21-2012
My Device: Q10
My Carrier: Virgin

Re: invocation framework and phone calls

Hi Marco,

 

Yes, unless you have an email client, which I suspect you do not.

 

 

@erikjohnzon
erjohnson@blackberry.com
Contributor
Posts: 16
Registered: ‎05-17-2011
My Device: 9700
My Carrier: Bmobile

Re: invocation framework and phone calls

The APIs for messages and phone calls are not yet available in the latest .1675 dev alpha update, hence there is no way to interact with those services from any app.