IMEI或IMSI以外的手机的唯一标识符? [英] A unique identifier for cell phone other than IMEI or IMSI?

查看:86
本文介绍了IMEI或IMSI以外的手机的唯一标识符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为手机设置一个唯一的标识符.由于没有一种在每个手机上查找IMEI或IMSI的特定方法,因此我想知道是否还有其他方法可以找到手机的唯一标识符.有人可以建议一种方法吗?

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?

推荐答案

如果不需要强大的UID,则可以以毫秒为单位使用时间.或者,您可以从J2SE获取UUID实现并将其移植到J2ME.这样,UUID应该存储在RMS中. 最好的方法之一是仅通过此服务构建服务器端并分发应用程序.当新用户尝试下载应用程序时,您可以将所需的任何UUID放入清单中并放入其中,然后通过MIDlet.getAppProperty(String uuidPropertyName)在应用程序中使用它.

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

这篇关于IMEI或IMSI以外的手机的唯一标识符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆