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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Regular Contributor
mdmdev
Posts: 75
Registered: ‎11-30-2012
My Carrier: airtel

Getting the IP address of the device

How to programatically get the IP address of the device?

 

-thanks

Please use plain text.
Contributor
chriske86
Posts: 43
Registered: ‎01-05-2013
My Carrier: Telenor Hungary

Re: Getting the IP address of the device

Hi,

 

you can get it with QNetworkInterface class.

Reference is here:

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

 

cheers,

chriske

--------------------------------------------------------------
If my post was helpful or it was the solution for Your problem, please don't forget to give me a like, and mark my post as a solution. Thanks!
Please use plain text.