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

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
yvalensi
Posts: 4
Registered: ‎04-01-2013
My Device: blackberry z10

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
yvalensi
Posts: 4
Registered: ‎04-01-2013
My Device: blackberry z10

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

does anyone has an update on this matter?

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

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
stardomains
Posts: 186
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
yvalensi
Posts: 4
Registered: ‎04-01-2013
My Device: blackberry z10

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
xnike
Posts: 63
Registered: ‎11-04-2011
My Device: PlayBook, DAC, STL100-1, STL100-2

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
AvneeshKumar
Posts: 20
Registered: ‎04-11-2012
My Device: 8520

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::Phone::Call &call)

 

Method. Please help me .i need it.

Developer
AvneeshKumar
Posts: 20
Registered: ‎04-11-2012
My Device: 8520

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
anditsung
Posts: 246
Registered: ‎09-30-2010
My Device: Z10, Onyx2

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

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

 

void YourClass::smileysurprised:nCallUpdated(const bb::system::Phone::Call &call) {

QString phoneNumber = call.phoneNumber();

}

 

this API is only available on 10.3