简体   繁体   English

获取 android 10 的 IMEI 号码

[英]Get IMEI number for android 10

How to get IMEI number for android 10??如何获取 android 10 的 IMEI 号码? Is there having any alternative way for finding unique id for dual sim slots有没有其他方法可以找到双卡插槽的唯一 ID

I need a unique identifier for dual sim slots id for android10.我需要一个用于 android10 的双 sim 卡插槽 id 的唯一标识符。 For android9 and below imei number is capturing based on sim slots.对于 android9 及以下,imei 号码是基于 sim 插槽捕获的。 What is the way to capture unique device id?捕获唯一设备ID的方法是什么?

If you want to find the unique device id this will help you如果您想找到唯一的设备 ID,这将对您有所帮助

 private String android_id = Secure.getString(getContext().getContentResolver(),
                                                    Secure.ANDROID_ID);

but there is a catch,this will come as String not number.但有一个问题,这将作为字符串而不是数字。

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

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