A unique identifier for cell phone other than IMEI

2020-02-15 02:55发布

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?

2条回答
够拽才男人
2楼-- · 2020-02-15 03:40

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 );

查看更多
Ridiculous、
3楼-- · 2020-02-15 03:52

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

查看更多
登录 后发表回答