0

I want to know, how to get device unique identification number from which i can identify android phone. Before android 10 ,this use to get work.

TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
imeiNumber = tm.getDeviceId();

But In android 10 ,this is not working . Can anyone suggest what should i do for android 10.

Vivek Patel
  • 399
  • 4
  • 18

0 Answers0