A unique identifier for cell phone other than IMEI or IMSI?

一世执手 提交于 2019-11-28 10:08:46

问题


I'd like to have an unique identifier for a cell phone. Since there is not a particular way to find IMEI or IMSI on every mobile, I want to know if there are other ways to find an unique identifier for a cellphone. Can anyone suggest a way?


回答1:


You can use just time in millis if you don't need strong UID. Or you can get UUID implementation from J2SE and port it to J2ME. In this way UUID should be stored in RMS. One of the best way is to build server side and distribute app only via this service. When new user try to download app you can put into manifest and jad any UUID you want and use it in your app via MIDlet.getAppProperty( String uuidPropertyName );




回答2:


If your target device has JSR82, you can use LocalDevice.getLocalDevice().getBluetoothAddress() -- that's unique.



来源:https://stackoverflow.com/questions/3838964/a-unique-identifier-for-cell-phone-other-than-imei-or-imsi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!