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


Thread Tools

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


For iPhone 5 5s 6 Plus 6S 6 6S Plus 7 8 Plus LCD Display+ Touch Replacement OEM picture

For iPhone 5 5s 6 Plus 6S 6 6S Plus 7 8 Plus LCD Display+ Touch Replacement OEM

$29.88



NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch picture

NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch

$35.90



NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015 picture

NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015

$49.90



OEM Battery for MacBook Pro 17

OEM Battery for MacBook Pro 17" A1309 A1297 Early 2009 Mid 2009 2010 MC226

$42.80



A1417 OEM Battery for Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013 US picture

A1417 OEM Battery for Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013 US

$45.90



A1618 NEW OEM Battery for MacBook Pro 15

A1618 NEW OEM Battery for MacBook Pro 15" Retina A1398 Mid 2015 020-00079

$49.90







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