RSS Feed    Facebook Profile    Twitter    Panoramio Photo Album    Linkedin Profile    Certificate

Παρασκευή 18 Ιανουαρίου 2008

Είμαι γάιδαρος, παρκάρω όπου γουστάρω

Καταπληκτική ακτιβιστική δράση που ξεκίνησε από την Θεσσαλονίκη για τα δικαιώματα των πεζών. Αξίζει υποστήριξη.

Οι πάνθηρες των δρόμων
http://www.streetpanthers.gr/
αυτοκόλλητα, παραγγελίες

The New York Times: (Ναι, οι πραγματικοί New York Times)
Running Out of Space to Park, and Places to Walk
http://www.nytimes.com/2007/11/09/world/europe/09athens.html?_r=2&oref=slogin&oref=slogin

Τρίτη 1 Ιανουαρίου 2008

How to get Phone IMEI number with J2ME / JavaME

mobilepit.com:
How to get Phone IMEI number with J2ME / JavaME
http://mobilepit.com/10/how-to-get-imei-number-in-j2me-javame.html

International Mobile Equipment Identity (IMEI) is used to identify valid devices connected to GSM and UMTS network. This number can be accessed from a mobile phone by dialing *#06# on the keypad. IMEI is commonly use by software developers as part of software protection scheme to prevent it from being pirated.

JavaME developers however suffers from a drawback because MIDP/CLDC specification does not include an API to obtain IMEI from mobile devices. However there are few phone manufacturers included this functionality through System.getPropery() calls.

Here's how to get IMEI number from mobile devices of different manufacturers

Nokia
System.getProperty("phone.imei");
System.getProperty("com.nokia.IMEI");
Note ; Requires signed midlet. S60 3rd edition device does not requires signing for this to work.

Sony-Ericsson
System.getProperty("com.sonyericsson.imei");
Note ; might not work on all model, YMMV

Motorola
System.getProperty("IMEI");
System.getProperty("com.motorola.IMEI");

Samsung
System.getProperty("com.samsung.imei");

Siemens
System.getProperty("com.siemens.imei");

Hopefully this information can aid you in your J2ME programming projects.

Quick Tip :
It's quite hard to determine the phone model/manufacturer well ahead beforehand. For a more robust solution, I suggest that you combine the above call with System.getProperty("microedition.platform").