한국어

스마트폰앱

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


글 수 146



Asked 
Active 18 days ago
Viewed 126 times
0

Before Android 10 I was using TelePhonyManager API to get IMEI and serial number information but now it id s not working in Android 10.

Is there way i can retrieve the IMEI and serial number information on Android 10?

1

Starting in Android 10, apps must have the READ_PRIVILEGED_PHONE_STATE privileged permission in order to access the device's non-resettable identifiers, which include both IMEI and serial number.

Third-party apps installed from the Google Play Store cannot declare privileged permissions.

If your app doesn't have the permission and you try asking for information about non-resettable identifiers anyway, the platform's response varies based on target SDK version:

  • If your app targets Android 10 or higher, a SecurityException occurs.
  • If your app targets Android 9 (API level 28) or lower, the method returns null or placeholder data if the app has the READ_PHONE_STATE permission. Otherwise, a SecurityException occurs.

If you try to access it throws below exception

조회 수 23263
android layout
admin
2013.10.02
조회 수 35397
조회 수 36697
조회 수 29785
android dialpad source code
admin
2013.09.09
조회 수 31738
조회 수 31998
Simple Dialer Application
admin
2013.09.09
조회 수 31349
조회 수 66153
조회 수 35836
sub menu
admin
2013.10.02
조회 수 34390
android Tap Layout example
admin
2013.10.02
조회 수 30853
조회 수 33998
Android option menu
admin
2013.11.23
조회 수 33875
Borders, Margins and Padding
admin
2013.09.27
조회 수 35649
조회 수 44211
조회 수 37155
조회 수 53033