Reputation: 21
How do I get the IMEI number for Nokia phones? I tried
StringBulder imei = ...........
imei.append(System.getProperty("phone.imei"));
imei.append(System.getProperty("com.nokia.imei"));
imei.append(System.getProperty("com.nokia.mid.IMEI"));
All return null.
What could be the solution?
Upvotes: 2
Views: 1974
Reputation: 14453
See the same discussion, How do I get the IMEI number with J2ME, on the Nokia forum.
Upvotes: 0
Reputation: 7251
On Series 40 phones this requires that your MIDlet is signed to either an operator or manufacturer domain. Without a signed MIDlet you can't get the IMEI Number. See How to get IMEI in Java ME.
Upvotes: 2
Reputation: 3226
com.nokia.mid.imei
is the correct one. On Symbian phones this is available on all security domains. On Series 40 phones it is available on only the manufacturer or operator security domains. This is likely to change to align with Symbian on the future Series 40 phones.
Upvotes: 0