BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Determining Country from API (http://www.blackberryforums.com/developer-forum/101814-determining-country-api.html)

jmahmud 10-26-2007 05:57 AM

Determining Country from API
 
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

set84 10-26-2007 01:36 PM

Why you can't use getNetworkId()?
Of course you must have list as Map (networkID - country).

jmahmud 10-27-2007 05:29 PM

using getnetworkID
 
where could I get this mapping? Is is stored anyway? I would like to store the mappings in a database.


All times are GMT -5. The time now is 02:33 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.