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

Java Development

Reply
Regular Contributor
tnathos
Posts: 92
Registered: ‎07-19-2010
Accepted Solution

Getting mobile number or ime

Hi,

 

how i can get the phone number (my phone number from my device) or the IME?

 

Regards.

Please use plain text.
Developer
swati-srivastava
Posts: 282
Registered: ‎02-25-2010
My Carrier: Verizon,AT&T

Re: Getting mobile number or ime

goto

 

Options-->Status-->IMEI

Please use plain text.
Regular Contributor
tnathos
Posts: 92
Registered: ‎07-19-2010

Re: Getting mobile number or ime

upssss no... i need get this info programatically :smileyfrustrated:

Please use plain text.
Developer
BB-Dude
Posts: 516
Registered: ‎07-23-2010

Re: Getting mobile number or ime

Phone.getDevicePhoneNumber(false);
Please use plain text.
Developer
swati-srivastava
Posts: 282
Registered: ‎02-25-2010
My Carrier: Verizon,AT&T

Re: Getting mobile number or ime

Please use plain text.
Regular Contributor
tnathos
Posts: 92
Registered: ‎07-19-2010

Re: Getting mobile number or ime

[ Edited ]

oooo problem... whit that i cant get the real phine number in severals cases... so hw i can get the number pin? its posible? programaticly

Please use plain text.
Developer
kanna
Posts: 70
Registered: ‎01-02-2009

Re: Getting mobile number or ime

yes,

 

 

Integer.toHexString(DeviceInfo.getDeviceId());

 Using this you can get the Blackberry PIN.

 

 

---------------------
Best Regards,
Kannabiran.
---------------------
Don't forget to mark your post as solved if you got answer. And give kudos.
Please use plain text.
Regular Contributor
tnathos
Posts: 92
Registered: ‎07-19-2010

Re: Getting mobile number or ime

TY! :smileyhappy:

Please use plain text.