0

How to get IMEI number for android 10?? Is there having any alternative way for finding unique id for dual sim slots

I need a unique identifier for dual sim slots id for android10. For android9 and below imei number is capturing based on sim slots. What is the way to capture unique device id?

Kaushik Burkule
  • 816
  • 1
  • 12
  • 27
user74
  • 51
  • 2
  • 5
  • Possible duplicate of [How to get IMEI information in Andorid 10?](https://stackoverflow.com/questions/58180656/how-to-get-imei-information-in-andorid-10) – Kaushik Burkule Oct 16 '19 at 10:43

1 Answers1

0

If you want to find the unique device id this will help you

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

but there is a catch ,this will come as String not number.

raj kavadia
  • 926
  • 1
  • 10
  • 30