BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 06-18-2008, 01:59 AM   #1
Jayaseelan
Thumbs Must Hurt
 
Join Date: Jun 2008
Location: Chennai
Model: 8130
PIN: N/A
Carrier: AIRTEL
Posts: 51
Default Help to retrieve Mobile Country code....

Please Login to Remove!

Hi to all,

I want to retrieve the Mobile country code using my application..

In Symbian, API available to retrieve the MCC code..

I dont know how to get the MCC in Blackberry API.

I anyone know how to get Mobile Country code Please reply to this thread..


Waiting for reply ASAP..
__________________
Jayaseelan.V
Mobile Application Developer
INDIA.
Offline  
Old 06-18-2008, 11:23 PM   #2
Jayaseelan
Thumbs Must Hurt
 
Join Date: Jun 2008
Location: Chennai
Model: 8130
PIN: N/A
Carrier: AIRTEL
Posts: 51
Default

hello.

Am waiting for reply.. Any one reply for this...
__________________
Jayaseelan.V
Mobile Application Developer
INDIA.
Offline  
Old 06-19-2008, 10:02 AM   #3
richard.puckett
Talking BlackBerry Encyclopedia
 
richard.puckett's Avatar
 
Join Date: Oct 2007
Location: Seattle, WA
Model: 9020
PIN: N/A
Carrier: T-Mobile
Posts: 212
Default

RadioInfo.getMCC
__________________
Do your homework and know how to ask a good question.
Offline  
Old 06-20-2008, 12:04 AM   #4
Jayaseelan
Thumbs Must Hurt
 
Join Date: Jun 2008
Location: Chennai
Model: 8130
PIN: N/A
Carrier: AIRTEL
Posts: 51
Default

Quote:
Originally Posted by richard.puckett View Post
RadioInfo.getMCC
Hi richard,

Is anything wrong in my question?

Just i want to know how to retrieve the Mobile Country Code grom my application..

For Example Mobile Country Code for India is 404 and 405

for Japan 441 and 440...

All the countries had codes..

U can ses this link for all contyr's MCC...

I want to retieve the MCC for want to identify In which contry the mobile is in..

I think now ur clear abt my question right?
__________________
Jayaseelan.V
Mobile Application Developer
INDIA.
Offline  
Old 06-20-2008, 12:06 AM   #5
Jayaseelan
Thumbs Must Hurt
 
Join Date: Jun 2008
Location: Chennai
Model: 8130
PIN: N/A
Carrier: AIRTEL
Posts: 51
Default

Quote:
Originally Posted by richard.puckett View Post
RadioInfo.getMCC
Richard,

Sorry, i forget to add the link in my previous reply..

Here is the link

List of mobile country codes - Wikipedia, the free encyclopedia
__________________
Jayaseelan.V
Mobile Application Developer
INDIA.
Offline  
Old 06-20-2008, 03:15 PM   #6
nipismylastnamehonest
New Member
 
Join Date: Oct 2005
Model: 8830
Carrier: Telus
Posts: 4
Default

Quote:
Originally Posted by richard.puckett View Post
RadioInfo.getMCC
Richard,

This is my code:

Code:
int li_Radio = RadioInfo.getMCC(RadioInfo.getCurrentNetworkIndex());
String ls_MCC = Integer.toHexString(li_Radio);
this.add(new RichTextField("The MCC is: " + ls_MCC));
I keep getting value of 445c, if I don't convert to hex I get 17500, neither are MCCs. I'm in Toronto on Telus (CDMA - EDGE). My MCC should be 302 (Canada)

Any help would be wonderful.
Offline  
Old 06-24-2008, 11:11 AM   #7
nipismylastnamehonest
New Member
 
Join Date: Oct 2005
Model: 8830
Carrier: Telus
Posts: 4
Default

*bump*
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


National Instruments Mainframe Chassis - NI-PXIe-1071 w/Warranty picture

National Instruments Mainframe Chassis - NI-PXIe-1071 w/Warranty

$690.00



Chroma 6312A DC Electronic Load Mainframe **FOR PARTS ONLY, POWERS ON** picture

Chroma 6312A DC Electronic Load Mainframe **FOR PARTS ONLY, POWERS ON**

$200.00



Agilent E1301B Mainframe  9-slots with multimeter, totalizer, and relay muxes picture

Agilent E1301B Mainframe 9-slots with multimeter, totalizer, and relay muxes

$350.00



Keithley 7002 Switch System Mainframe T135966 picture

Keithley 7002 Switch System Mainframe T135966

$299.99



SHC SYSTEM 6 MAINFRAME + Mixed Modules 6-562,6-201,6-402. picture

SHC SYSTEM 6 MAINFRAME + Mixed Modules 6-562,6-201,6-402.

$89.99



Chroma 6312A DC Electronic Load Mainframe with 63102A 2A/20A 16V/80V 1 picture

Chroma 6312A DC Electronic Load Mainframe with 63102A 2A/20A 16V/80V 1

$300.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.