한국어

스마트폰앱

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

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


글 수 147



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

번호
제목
글쓴이
147 Gradle 빌드 오류 ‘No matching client found for package name’ 해결법
admin
2   2019-12-08
 
146 소스코드 수정없이 개발/운영 패키지, 앱이름, 옵션 분리하기
admin
5   2019-12-08
 
How to get IMEI information in Andorid 10? Q
admin
164   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...  
144 안드로이드 Q(10) - 고유 식별자 대체는 뭘로?
admin
188   2019-10-19
 
143 안드로이드 9.0 파이의 44가지 새로운 기능과 변화
admin
149   2019-10-19
 
142 Android Notification 예제 Oreo, androidx 적용
admin
465   2019-08-18
 
141 안드로이드 앱에서 64비트 기기를 지원하는지 확인
admin
2631   2019-05-26
 
140 How to get the Radio type of Android phone(GSM,CDMA,WCDMA,LTE)
admin
2095   2018-12-09
 
139 휴대폰 정보 가져오기 음성통화 데이터통신 상태 망사업자명 전화번호 IMEI android
admin
101352   2018-11-25
 
138 Android splash screen is a popular screen effect in app development
admin
2326   2018-11-25
 
137 다이알로그 작성 활용 activity class xml
admin
3402   2018-05-21
 
136 [Android] Activity 생성시에 사용되는 Intent Flag 정리
admin
3951   2018-05-11
 
135 Activity stack 처리하는 방법 (Android)
admin
3889   2018-05-11
 
134 간단하게 Activity stack 처리하는 방법 (Android) launche mode
admin
6146   2018-05-11
 
133 Android Studio How can I fix "Design editor is unavailable until a successful build
admin
4562   2018-05-08
 
132 안드로이드 구글 맵 OnMarkerClickListener 사용 - 마커 클릭 이벤트처리
admin
4723   2018-05-02
 
131 How to make an Android custom keyboard?
admin
4463   2018-04-25
 
130 원격 실제 안드로이드폰 아이폰 테스트 베드 스마일모바일 앱 개발 지원 센터 앱
admin
4024   2018-04-22
 
129 linphone build android DialerFragment.java sourcecode
admin
5428   2017-10-29
 
128 setOnTouchListener() 추가하기 동일이벤트에 두가지 동작 시키기
admin
6285   2017-10-29
 
127 Android ndk 사용 이해하는순서 개발자
admin
5392   2017-10-14
 
126 Using toast inside timertask perfect
admin
14877   2015-05-30
 
125 안드로이드에서 spinner와 DB 연결 간단 예제
admin
16174   2015-05-28
 
124 Android Getting Started with Material Design
admin
14712   2015-04-14
 
123 Button height different from background height in Android image design
admin
15804   2015-04-05
 
122 visit the sharedPreference of another application, the SharedPreference have to set
admin
15160   2015-04-04
 
121 Framelayout Methods of the SlidingDrawer
admin
16510   2015-03-29
 
120 Android PDFView
admin
16830   2015-03-18
 
119 Android Playing Audio from a web url
admin
13749   2015-03-18
 
118 Android Text To Speech(TTS)
admin
17576   2015-03-18