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

Java Development

Reply
Regular Contributor
manoj96067
Posts: 58
Registered: ‎09-21-2010
My Device: Not Specified

FInding technology used by Incoming Call.

Hi All,

 

In my Blackberry application, I need to find the technology used by the incoming call.

Can anybody provide the input to how to find the technology/protocol used by the incoming call?

 

Your inputs are greatly appreciated.

Thanks in advance.

 

Manoj Kumar

 

Please use plain text.
Developer
simon_hain
Posts: 16,215
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: FInding technology used by Incoming Call.

please clarify your question, i have no clue what you want.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Regular Contributor
manoj96067
Posts: 58
Registered: ‎09-21-2010
My Device: Not Specified

Re: FInding technology used by Incoming Call.

Hello Simon,

 

Thanks for the quick reply.

 

Actually, my application needs to run in background. The background app needs to get the information related to the incoming call and save in the internal database.

Information required from the incoming call is the incoming call number, call time, and the protocol used by the incoming call like, either incoming call comes from SIP or skype or Google talk, etc.

 

Can I get these information?

 

Thanks once again.

 

Manoj Kumar

Please use plain text.
Developer
simon_hain
Posts: 16,215
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: FInding technology used by Incoming Call.

you can use a http://www.blackberry.com/developers/docs/6.0.0api/net/rim/blackberry/api/phone/PhoneListener.html to receive notifications about the call when it happens.

a http://www.blackberry.com/developers/docs/6.0.0api/net/rim/blackberry/api/phone/phonelogs/PhoneLogLi... notifies you when the call is placed on the call log, you can retrieve all information there.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Regular Contributor
manoj96067
Posts: 58
Registered: ‎09-21-2010
My Device: Not Specified

Re: FInding technology used by Incoming Call.

Hi Simon,

 

Thanks for the reply.

From the above two links provided by you, how I can retrive the information regarding the technology/protocol used?

 

The incoming call may be from skype, SIP or from Google Talk. How I can find this information?

Also, how I can find the mobile country code and mobile network code of the SIM?

 

Thanks for your help once again.

 

Manoj Kumar

Please use plain text.
Developer
shnuffy
Posts: 268
Registered: ‎08-19-2009
My Device: Bold 9700

Re: FInding technology used by Incoming Call.

[ Edited ]

I'd be very surprised if you could determine what "technology" the call is originating from. I don't think (although I'm not positive) that incoming phone calls contain this type of meta-data.

Please use plain text.
Regular Contributor
manoj96067
Posts: 58
Registered: ‎09-21-2010
My Device: Not Specified

Re: FInding technology used by Incoming Call.

Any help please.

 

Manoj Kumar

Please use plain text.
Developer
simon_hain
Posts: 16,215
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: FInding technology used by Incoming Call.

i am with shnuffy here, there is no information about this on a phone call.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.