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

查看:19
本文介绍了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天全站免登陆