한국어

스마트폰앱

온누리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 not translated in selected language 에러 워닝
admin
6609   2019-12-15
 
145 안드로이드 9.0 파이의 44가지 새로운 기능과 변화
admin
7202   2019-10-19
 
144 안드로이드 strings.xml 특수문자 넣기
admin
7365   2020-01-13
 
143 소스코드 수정없이 개발/운영 패키지, 앱이름, 옵션 분리하기
admin
7402   2019-12-08
 
142 Gradle 빌드 오류 ‘No matching client found for package name’ 해결법
admin
7514   2019-12-08
 
How to get IMEI information in Andorid 10? Q
admin
7892   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...  
140 안드로이드 Q(10) - 고유 식별자 대체는 뭘로?
admin
8236   2019-10-19
 
139 Android Notification 예제 Oreo, androidx 적용
admin
8527   2019-08-18
 
138 How to get the Radio type of Android phone(GSM,CDMA,WCDMA,LTE)
admin
9911   2018-12-09
 
137 다이알로그 작성 활용 activity class xml
admin
11331   2018-05-21
 
136 [Android] Activity 생성시에 사용되는 Intent Flag 정리
admin
12233   2018-05-11
 
135 Activity stack 처리하는 방법 (Android)
admin
12334   2018-05-11
 
134 원격 실제 안드로이드폰 아이폰 테스트 베드 스마일모바일 앱 개발 지원 센터 앱
admin
12390   2018-04-22
 
133 Android splash screen is a popular screen effect in app development
admin
12718   2018-11-25
 
132 Android Studio How can I fix "Design editor is unavailable until a successful build
admin
12801   2018-05-08
 
131 linphone build android DialerFragment.java sourcecode
admin
13418   2017-10-29
 
130 Android ndk 사용 이해하는순서 개발자
admin
13703   2017-10-14
 
129 안드로이드 구글 맵 OnMarkerClickListener 사용 - 마커 클릭 이벤트처리
admin
14529   2018-05-02
 
128 setOnTouchListener() 추가하기 동일이벤트에 두가지 동작 시키기
admin
14788   2017-10-29
 
127 간단하게 Activity stack 처리하는 방법 (Android) launche mode
admin
15220   2018-05-11
 
126 안드로이드 앱에서 64비트 기기를 지원하는지 확인
admin
18171   2019-05-26
 
125 Android Speech To Text
admin
22421   2015-03-18
 
124 How to make an Android custom keyboard?
admin
22632   2018-04-25
 
123 Android Getting Started with Material Design
admin
22901   2015-04-14
 
122 Using toast inside timertask perfect
admin
22982   2015-05-30
 
121 visit the sharedPreference of another application, the SharedPreference have to set
admin
23461   2015-04-04
 
120 Button height different from background height in Android image design
admin
24237   2015-04-05
 
119 Android Playing Audio from a web url
admin
24563   2015-03-18
 
118 Framelayout Methods of the SlidingDrawer
admin
24939   2015-03-29
 
117 Android Text To Speech(TTS)
admin
25144   2015-03-18