한국어

스마트폰앱

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

번호
제목
글쓴이
146 안드로이드 strings.xml 특수문자 넣기
admin
7128   2020-01-13
 
145 not translated in selected language 에러 워닝
admin
6367   2019-12-15
 
144 Gradle 빌드 오류 ‘No matching client found for package name’ 해결법
admin
7275   2019-12-08
 
143 소스코드 수정없이 개발/운영 패키지, 앱이름, 옵션 분리하기
admin
7162   2019-12-08
 
How to get IMEI information in Andorid 10? Q
admin
7619   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...  
141 안드로이드 Q(10) - 고유 식별자 대체는 뭘로?
admin
7977   2019-10-19
 
140 안드로이드 9.0 파이의 44가지 새로운 기능과 변화
admin
6963   2019-10-19
 
139 Android Notification 예제 Oreo, androidx 적용
admin
8154   2019-08-18
 
138 안드로이드 앱에서 64비트 기기를 지원하는지 확인
admin
17721   2019-05-26
 
137 How to get the Radio type of Android phone(GSM,CDMA,WCDMA,LTE)
admin
9531   2018-12-09
 
136 휴대폰 정보 가져오기 음성통화 데이터통신 상태 망사업자명 전화번호 IMEI android
admin
114035   2018-11-25
 
135 Android splash screen is a popular screen effect in app development
admin
12337   2018-11-25
 
134 다이알로그 작성 활용 activity class xml
admin
10970   2018-05-21
 
133 [Android] Activity 생성시에 사용되는 Intent Flag 정리
admin
11843   2018-05-11
 
132 Activity stack 처리하는 방법 (Android)
admin
11962   2018-05-11
 
131 간단하게 Activity stack 처리하는 방법 (Android) launche mode
admin
14830   2018-05-11
 
130 Android Studio How can I fix "Design editor is unavailable until a successful build
admin
12436   2018-05-08
 
129 안드로이드 구글 맵 OnMarkerClickListener 사용 - 마커 클릭 이벤트처리
admin
14120   2018-05-02
 
128 How to make an Android custom keyboard?
admin
22256   2018-04-25
 
127 원격 실제 안드로이드폰 아이폰 테스트 베드 스마일모바일 앱 개발 지원 센터 앱
admin
12002   2018-04-22
 
126 linphone build android DialerFragment.java sourcecode
admin
13047   2017-10-29
 
125 setOnTouchListener() 추가하기 동일이벤트에 두가지 동작 시키기
admin
14378   2017-10-29
 
124 Android ndk 사용 이해하는순서 개발자
admin
13326   2017-10-14
 
123 Using toast inside timertask perfect
admin
22581   2015-05-30
 
122 안드로이드에서 spinner와 DB 연결 간단 예제
admin
25282   2015-05-28
 
121 Android Getting Started with Material Design
admin
22511   2015-04-14
 
120 Button height different from background height in Android image design
admin
23840   2015-04-05
 
119 visit the sharedPreference of another application, the SharedPreference have to set
admin
23051   2015-04-04
 
118 Framelayout Methods of the SlidingDrawer
admin
24522   2015-03-29
 
117 Android PDFView
admin
25577   2015-03-18