한국어

스마트폰앱

온누리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 How to make an Android custom keyboard?
admin
22242   2018-04-25
 
145 android layout
admin
34665   2013-10-02
 
144 Simple and best way for GeoLocation.
admin
35995   2013-12-15
 
143 Understanding Android local data store APIs Using SQLite databases
admin
33532   2013-12-15
 
142 [5장] 레이아웃_ 안드로이드 프로그래밍의 모든 것
admin
37166   2013-11-05
 
141 스마트폰의 A-GPS 원리 및 3G/4G/WIFI를 이용한 위치추정
admin
50029   2013-11-10
 
140 Android 개발시 Fragment 를 이용해서 화면 구성하기
admin
44850   2013-11-10
 
139 Icon in the status bar when application is running
admin
29093   2013-11-10
 
138 android dialpad source code
admin
31032   2013-09-09
 
137 package com.csipsimple.ui; CSIPsimple UI source code
admin
31285   2013-09-09
 
136 Simple Dialer Application
admin
30638   2013-09-09
 
135 package com.android.contacts.dialpad; android dialpad source code
admin
32708   2013-09-09
 
134 android-google-voice-locations android google dialpad source code
admin
30568   2013-09-09
 
133 My Own Phone Dialler, Only on Android dialer source code
admin
33969   2013-09-09
 
132 Souce Code of com.android.phone.DTMFTwelveKeyDialer
admin
65154   2013-09-09
 
131 Google Play 개발자 콘솔 URL
admin
35085   2013-07-12
 
130 sub menu
admin
33656   2013-10-02
 
129 android Tap Layout example
admin
30138   2013-10-02
 
128 Text auto scale Resize to Fit within Bounds editText very easy
admin
38951   2013-11-17
 
127 안드로이드 Android Cursor를 이용한 DB 데이터 사용 하기
admin
56240   2013-11-18
 
126 building csipsimple sourcecode
admin
33263   2013-11-05
 
125 UI 디자인을 위한 체크리스트 (Checklist for UI design)
admin
31625   2013-11-02
 
124 Android option menu
admin
33175   2013-11-23
 
123 Borders, Margins and Padding
admin
34900   2013-09-27
 
122 simpler/better way to put a border/outline around my TextView?
admin
31523   2013-09-27
 
121 Supporting Multiple Screens Android
admin
43452   2013-04-27
 
120 Android: Screen Densities, Sizes, Configurations, and Icon Sizes
admin
41579   2013-04-27
 
119 How to Build ffmpeg with NDK r9
admin
36418   2013-09-23
 
118 안드로이드/Android Handler 와 Timer(TimerTask) 를 활용한 Intro 화면 구성
admin
40094   2013-11-18
 
117 Android Custom List View using Custom Adapter Example
admin
52232   2013-10-04