BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-26-2007, 05:57 AM   #1 (permalink)
New Member
 
Join Date: Oct 2007
Model: 8700
PIN: N/A
Carrier: Vodafone
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Determining Country from API

Please Login to Remove!

Hi - I'm a new boy to the blackberry development front and need a hand! I've got a bunch of devices (8700, 8800s) all running 4.1.0 and trying to write an application whereby I can determine the country they are in. The blackberry API 4.2.1 offers getMCC but 4.1.0 does not. There is a getNetworkID but I do not know how to interpret this figure once I recieved it. Does anyone have any suggestions as to how I could determin the country from the device with API 4.1.0? Any help would be greatly appreciated!!!

Thanks in advance!!!

J
Offline  
Old 10-26-2007, 01:36 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jul 2006
Location: Moscow
Model: 9000
OS: 4.6.0.304
Carrier: MTC
Posts: 72
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Why you can't use getNetworkId()?
Of course you must have list as Map (networkID - country).
Offline  
Old 10-27-2007, 05:29 PM   #3 (permalink)
New Member
 
Join Date: Oct 2007
Model: 8700
PIN: N/A
Carrier: Vodafone
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question using getnetworkID

where could I get this mapping? Is is stored anyway? I would like to store the mappings in a database.
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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