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
New Developer
Posts: 14
Registered: ‎02-20-2013
My Device: BB 10 Dev Alpha B
My Carrier: BB 10

Re: Incoming/Outgoing call phone number, Phone log listener?

There is no way to do it yet, unfortunately.  Development has confirmed that it is on the roadmap...no idea when.

 

Regards,

Muhammad Faheem Amjad

New Member
Posts: 4
Registered: ‎04-01-2013
My Device: blackberry z10
My Carrier: bouygues

Re: Incoming/Outgoing call phone number, Phone log listener?

Yes that's what I am seeing. Do you see anyway of stopping calls or even accepting calls?

New Member
Posts: 4
Registered: ‎04-01-2013
My Device: blackberry z10
My Carrier: bouygues

Re: Incoming/Outgoing call phone number, Phone log listener?

does anyone has an update on this matter?

Highlighted
New Contributor
Posts: 2
Registered: ‎06-27-2013
My Device: BBZ10 Dev Alpha
My Carrier: O2

Re: Incoming/Outgoing call phone number, Phone log listener?

[ Edited ]

What did you find - it would be great if you could share the code.

If I call Phone.activeLine().description() - all I get is the work "cellular" - I actually want my own device number.

I would also like to retrieve the number of the handset being called and/or the number of the handset calling my device.  Any idea on how this is done.

 

Developer
Posts: 196
Registered: ‎12-14-2009
My Device: Not Specified

Re: Incoming/Outgoing call phone number, Phone log listener?

So, is there any way yet to get the phone number of an incoming call? 

 

I have searched and searched but can't find any way to do it.

New Member
Posts: 4
Registered: ‎04-01-2013
My Device: blackberry z10
My Carrier: bouygues

Re: Incoming/Outgoing call phone number, Phone log listener?

Hi, has someone found how to listen to an outgoing phone number. When a call is placed I can see, there is a current caln but not to which number. Help?
Developer
Posts: 67
Registered: ‎11-04-2011
My Device: PlayBook, DAC, STL100-1, STL100-2
My Carrier: MTS RUS

Re: Incoming/Outgoing call phone number, Phone log listener?

According to documentation there is no way to do this right now. All we can do is to end the incoming call: https://developer.blackberry.com/native/reference/cascades/bb__system__phone__phone.html#function-en...

Developer
Posts: 38
Registered: ‎04-11-2012
My Device: 8520
My Carrier: RIM

Re: Incoming/Outgoing call phone number, Phone log listener?

Hi Sir ,

i am not able to find incoming/outgoing call phone number inside

onCallUpdated(const bb::system::Call &call)

 

Method. Please help me .i need it.

Developer
Posts: 38
Registered: ‎04-11-2012
My Device: 8520
My Carrier: RIM

Re: Incoming/Outgoing call phone number, Phone log listener?

i can access sender(), But after that how i can get phone number from this.
Developer
Posts: 246
Registered: ‎09-30-2010
My Device: Z10, Onyx2
My Carrier: IND XL

Re: Incoming/Outgoing call phone number, Phone log listener?

this is how to read the phone number for incoming call our outgoing...

 

void YourClass:Smiley SurprisednCallUpdated(const bb::system::Call &call) {

QString phoneNumber = call.phoneNumber();

}

 

this API is only available on 10.3