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
Posts: 92
Registered: ‎03-09-2013
My Device: bold 9800
My Carrier: blackberry

Is there any way to find mobile number programitically??

I am working on Blackberry 9800 Bold. I want to  find my Mobile Number programitically.. Is there any way or method to find mobile number programitically??? Like for imei and SIM ID we use :

 

(1) GPRSInfo.imeiToString(GPRSInfo.getIMEI());

(2) toStrings(SIMCardInfo.getIMSI());

 

Thanx in Advance..

Highlighted
New Contributor
Posts: 6
Registered: ‎06-24-2013
My Device: Bold-8900
My Carrier: Teletalk

Re: Is there any way to find mobile number programitically??

[ Edited ]

EDITED

 

Sorry.. Ignore this... didn't understood the question previously...

Developer
Posts: 17,012
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Is there any way to find mobile number programitically??

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/phone/Phone.html#getDevice...
----------------------------------------------------------
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