automatic MCC and MNC detection using Motorola J2ME enabled cellphone [GSM]


Been playing around with the APN settings on my Qualcomm Android dev phone. I wanted to make sure I had the right Mobile Country Code and Mobile Network Code, since I knew I had the correct network id.

I threw together a J2ME app, MotorolaCellInfo.jar, that detects these values from my SIM card when I use it in my Motorola phone. This uses functionality that is only guaranteed to work on Motorola devices. For more, please see the source I used: Getiing Location Information (IMEI,MCC,MNC,LAC,CELLID) without GPS.

If you are the hacker type, check out the NetBeans project+source zip.

103 words. Post tags: Motorola and J2ME.

Post content is written by Jason Zerbe and licensed CC BY-NC 3.0.