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

Posts: 61
Registered: ‎10-16-2013
My Device: Z10
Accepted Solution

Get my own phone number programatically (c++ BB10)

I need to get my phone number programatically!

please help!

BlackBerry Development Advisor
Posts: 44
Registered: ‎09-27-2012
My Device: Passport

Re: Get my own phone number programatically (c++ BB10)

[ Edited ]

You can use "address()" call in bb.system.phone.line. This class provides line's ID, address(phone number), and type information.




Also the SimCardInfo class would be useful to referecne.



Hope this was helpful. Happy Coding!
EK @echotown