开发者

How to get the IMEI number for Nokia phones?

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开发者_StackOverflow社区 be the solution?


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.


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.


See the same discussion, How do I get the IMEI number with J2ME, on the Nokia forum.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜