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

Native Development

Reply
Highlighted
New Developer
Posts: 16
Registered: ‎06-02-2011
My Device: Curce 9300
My Carrier: Vodafone

Invoke and terminate call programmatically

Hi,

 

I am new to Blackberry 10 native development. Can anyone please help on

1. how to invoke call with phone number

2. Can we interrupt/terminate user dial call programmatically and initiate different call?

 

Thanks in adavance!

Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: Invoke and terminate call programmatically

You can use the Phone class. There is also an example how to use it.

 

http://developer.blackberry.com/cascades/reference/bb__system__phone__phone.html

New Developer
Posts: 16
Registered: ‎06-02-2011
My Device: Curce 9300
My Carrier: Vodafone

Re: Invoke and terminate call programmatically

It seems there are api's to get information on call which is currently going on and also we can initiate call programatically, however I don't see api's to terminate call

 

Please let me know is there any work-around for terminating call which is alreay initiated. As this is possible in Blackberry Java environment(BB 5.0), I am hoping this would be possible in Blackberry 10 as well.

 

Please help!