한국어

스마트폰앱

온누리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

번호
제목
글쓴이
26 visit the sharedPreference of another application, the SharedPreference have to set
admin
2015-04-04 23401
25 Using toast inside timertask perfect
admin
2015-05-30 22925
24 Android Getting Started with Material Design
admin
2015-04-14 22846
23 How to make an Android custom keyboard?
admin
2018-04-25 22575
22 Android Speech To Text
admin
2015-03-18 22370
21 안드로이드 앱에서 64비트 기기를 지원하는지 확인
admin
2019-05-26 18115
20 간단하게 Activity stack 처리하는 방법 (Android) launche mode
admin
2018-05-11 15170
19 setOnTouchListener() 추가하기 동일이벤트에 두가지 동작 시키기
admin
2017-10-29 14723
18 안드로이드 구글 맵 OnMarkerClickListener 사용 - 마커 클릭 이벤트처리
admin
2018-05-02 14492
17 Android ndk 사용 이해하는순서 개발자
admin
2017-10-14 13655
16 linphone build android DialerFragment.java sourcecode
admin
2017-10-29 13357
15 Android Studio How can I fix "Design editor is unavailable until a successful build
admin
2018-05-08 12758
14 Android splash screen is a popular screen effect in app development
admin
2018-11-25 12662
13 원격 실제 안드로이드폰 아이폰 테스트 베드 스마일모바일 앱 개발 지원 센터 앱
admin
2018-04-22 12335
12 Activity stack 처리하는 방법 (Android)
admin
2018-05-11 12282
11 [Android] Activity 생성시에 사용되는 Intent Flag 정리
admin
2018-05-11 12170
10 다이알로그 작성 활용 activity class xml
admin
2018-05-21 11287
9 How to get the Radio type of Android phone(GSM,CDMA,WCDMA,LTE)
admin
2018-12-09 9846
8 Android Notification 예제 Oreo, androidx 적용
admin
2019-08-18 8478
7 안드로이드 Q(10) - 고유 식별자 대체는 뭘로?
admin
2019-10-19 8213
How to get IMEI information in Andorid 10? Q
admin
2019-10-19 7867
5 Gradle 빌드 오류 ‘No matching client found for package name’ 해결법
admin
2019-12-08 7482
4 소스코드 수정없이 개발/운영 패키지, 앱이름, 옵션 분리하기
admin
2019-12-08 7377
3 안드로이드 strings.xml 특수문자 넣기
admin
2020-01-13 7341
2 안드로이드 9.0 파이의 44가지 새로운 기능과 변화
admin
2019-10-19 7173
1 not translated in selected language 에러 워닝
admin
2019-12-15 6580