简体   繁体   English

Android 12 应用程序可以访问设备的哪些唯一硬件身份信息

[英]What Unique Hardware Identity Information Can Android 12 Apps Access to the Device

I'm wondering what information applications can obtain regarding the hardware ID.我想知道应用程序可以获得哪些有关硬件 ID 的信息。 Which device-specific credentials such as Mac Address, Bluetooth Mac Address, IMEI are accessible to user applications.用户应用程序可以访问哪些特定于设备的凭据,例如 Mac 地址、蓝牙 Mac 地址、IMEI。

You can find detailed info regarding identifiers in the article: https://developer.android.com/training/articles/user-data-ids您可以在文章中找到有关标识符的详细信息: https ://developer.android.com/training/articles/user-data-ids

Just pay attention to changes in Android 10:只需注意 Android 10 的变化:

Android 10 (API level 29) adds restrictions for non-resettable identifiers, which include both IMEI and serial number. Android 10(API 级别 29)增加了对不可重置标识符的限制,其中包括 IMEI 和序列号。 Your app must be a device or profile owner app, have special carrier permissions, or have the READ_PRIVILEGED_PHONE_STATE privileged permission in order to access these identifiers.您的应用程序必须是设备配置文件所有者应用程序,具有特殊的运营商权限,或具有 READ_PRIVILEGED_PHONE_STATE 特权权限才能访问这些标识符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM