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
Developer
Posts: 203
Registered: ‎07-30-2009
My Device: Bold(9780),Curve(8520)
My Carrier: Vodafone
Accepted Solution

How to get IMEI number?

HI there,

 

is it possible to get the IMES number in BlackBerry Java application and it's possible then please help me to get it?

 

Thanks in advanced

Kalpesh Tita

Developer
Posts: 950
Registered: ‎06-22-2010
My Device: 9550

Re: How to get IMEI number?

[ Edited ]
import net.rim.device.api.system.GPRSInfo;
out = GPRSInfo.getCellInfo().getMNC();
or
out = GPRSInfo.getIMEI();



I think this will get. (Not Tested)

 

Thanks

------------------------------------------------------------------------------------
Press Kudo to say thank to developer.
Also Press the Accept as solution Button when u got the Solution.

 

 

 

 

 

Guru I
Posts: 16,194
Registered: ‎07-23-2008
My Device: Torch 9850/ Playbook
My Carrier: VerizonWireless

Re: How to get IMEI number?

Hi!

 

 

KB05026How to locate the PIN, IMEI number, ESN, or MEID number on the BlackBerry smartphone

 

KB04665ESN, MEID, ICCID, IMEI, IMSI, PIN and SIM acronyms table.

Thanks,

 

Bifocals

Click Accept as Solution for posts that have solved your issue(s)!
Be sure to click Like! for those who have helped you.

Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

Follow Bifocals on Twitter

Developer
Posts: 466
Registered: ‎03-04-2009
My Device: 8520
My Carrier: some

Re: How to get IMEI number?

GprsInfo.getIMEI()

CDMAInfo.getESN()

Got resolved! Press kudo icon!
Developer
Posts: 203
Registered: ‎07-30-2009
My Device: Bold(9780),Curve(8520)
My Carrier: Vodafone

Re: How to get IMEI number?

hi there i try the above code butnot able to get the value it returns me 0

 

Thanks

Kalpesh Tita

Developer
Posts: 950
Registered: ‎06-22-2010
My Device: 9550

Re: How to get IMEI number?

Look at this link

 

http://www.easywms.com/easywms/?q=en/node/3589

 

Hope will Help.

------------------------------------------------------------------------------------
Press Kudo to say thank to developer.
Also Press the Accept as solution Button when u got the Solution.

Developer
Posts: 466
Registered: ‎03-04-2009
My Device: 8520
My Carrier: some

Re: How to get IMEI number?

catching info!

Got resolved! Press kudo icon!
Developer
Posts: 203
Registered: ‎07-30-2009
My Device: Bold(9780),Curve(8520)
My Carrier: Vodafone

Re: How to get IMEI number?

[ Edited ]

Hi

 

Noting is working in my storm  so any body knows the proper solution please help me.

 

Thanks

Kalpesh

Developer
Posts: 203
Registered: ‎07-30-2009
My Device: Bold(9780),Curve(8520)
My Carrier: Vodafone

Re: How to get IMEI number?

hi

below the link for the solution for the IMEI issue

 

http://supportforums.blackberry.com/t5/Java-Development/IMEI-problems/m-p/178035/highlight/true#M223...

 

Thanks and Regards

Kalpesh Tita