除 IMEI 或 IMSI 之外的手机唯一标识符?

发布于 2024-09-25 13:19:05 字数 90 浏览 1 评论 0原文

我想要一个手机的唯一标识符。由于没有特定的方法可以在每部手机上查找 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

平定天下 2024-10-02 13:19:05

如果不需要强 UID,则可以仅使用以毫秒为单位的时间。或者您可以从 J2SE 获取 UUID 实现并将其移植到 J2ME。这样UUID应该存储在RMS中。
最好的方法之一是构建服务器端并仅通过此服务分发应用程序。当新用户尝试下载应用程序时,您可以将您想要的任何 UUID 放入清单和 jad 中,并通过 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 );

对你再特殊 2024-10-02 13:19:05

如果您的目标设备具有 JSR82,则可以使用 LocalDevice.getLocalDevice().getBluetoothAddress()——这是独一无二的。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文