한국어

스마트폰앱

온누리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
23309   2015-04-04
 
25 Using toast inside timertask perfect
admin
22828   2015-05-30
 
24 Android Getting Started with Material Design
admin
22756   2015-04-14
 
23 How to make an Android custom keyboard?
admin
22497   2018-04-25
 
22 Android Speech To Text
admin
22274   2015-03-18
 
21 안드로이드 앱에서 64비트 기기를 지원하는지 확인
admin
18013   2019-05-26
 
20 간단하게 Activity stack 처리하는 방법 (Android) launche mode
admin
15067   2018-05-11
 
19 setOnTouchListener() 추가하기 동일이벤트에 두가지 동작 시키기
admin
14633   2017-10-29
 
18 안드로이드 구글 맵 OnMarkerClickListener 사용 - 마커 클릭 이벤트처리
admin
14394   2018-05-02
 
17 Android ndk 사용 이해하는순서 개발자
admin
13546   2017-10-14
 
16 linphone build android DialerFragment.java sourcecode
admin
13265   2017-10-29
 
15 Android Studio How can I fix "Design editor is unavailable until a successful build
admin
12663   2018-05-08
 
14 Android splash screen is a popular screen effect in app development
admin
12565   2018-11-25
 
13 원격 실제 안드로이드폰 아이폰 테스트 베드 스마일모바일 앱 개발 지원 센터 앱
admin
12239   2018-04-22
 
12 Activity stack 처리하는 방법 (Android)
admin
12200   2018-05-11
 
11 [Android] Activity 생성시에 사용되는 Intent Flag 정리
admin
12090   2018-05-11
 
10 다이알로그 작성 활용 activity class xml
admin
11196   2018-05-21
 
9 How to get the Radio type of Android phone(GSM,CDMA,WCDMA,LTE)
admin
9765   2018-12-09
 
8 Android Notification 예제 Oreo, androidx 적용
admin
8384   2019-08-18
 
7 안드로이드 Q(10) - 고유 식별자 대체는 뭘로?
admin
8146   2019-10-19
 
How to get IMEI information in Andorid 10? Q
admin
7804   2019-10-19
How to get IMEI information in Andorid 10?Ask Question Asked 18 days ago Active 18 days ago Viewed 126 times 0 1 Before Android 10 I was using TelePhonyManager API to get IMEI and serial num...  
5 Gradle 빌드 오류 ‘No matching client found for package name’ 해결법
admin
7412   2019-12-08
 
4 소스코드 수정없이 개발/운영 패키지, 앱이름, 옵션 분리하기
admin
7309   2019-12-08
 
3 안드로이드 strings.xml 특수문자 넣기
admin
7293   2020-01-13
 
2 안드로이드 9.0 파이의 44가지 새로운 기능과 변화
admin
7100   2019-10-19
 
1 not translated in selected language 에러 워닝
admin
6517   2019-12-15