한국어

스마트폰앱

온누리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 disable Mobile Data on Android
admin
38939   2013-03-31
 
145 GIS 좌표체계와 대한민국의 좌표계
admin
38777   2013-03-31
 
144 Android Preferences Activity example
admin
36406   2013-04-12
 
143 SharedPreferences sample 샘플
admin
37658   2013-04-14
 
142 mysql java driver JDBC mysql-connector-java-5.1.22 file
admin
38988   2013-04-20
 
141 Supporting Multiple Screens Android
admin
45549   2013-04-27
 
140 Android: Screen Densities, Sizes, Configurations, and Icon Sizes
admin
43687   2013-04-27
 
139 Google Play 개발자 콘솔 URL
admin
36868   2013-07-12
 
138 android dialpad source code
admin
32780   2013-09-09
 
137 package com.csipsimple.ui; CSIPsimple UI source code
admin
33048   2013-09-09
 
136 Simple Dialer Application
admin
32358   2013-09-09
 
135 package com.android.contacts.dialpad; android dialpad source code
admin
34426   2013-09-09
 
134 android-google-voice-locations android google dialpad source code
admin
32322   2013-09-09
 
133 My Own Phone Dialler, Only on Android dialer source code
admin
35734   2013-09-09
 
132 Souce Code of com.android.phone.DTMFTwelveKeyDialer
admin
67402   2013-09-09
 
131 Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties
admin
36307   2013-09-23
 
130 Using the Android* x86 NDK with Eclipse* and Porting an NDK Sample App
admin
46389   2013-09-23
 
129 How to Build ffmpeg with NDK r9
admin
38181   2013-09-23
 
128 Tutorial: Create Android library projects
admin
34113   2013-09-23
 
127 Borders, Margins and Padding
admin
36642   2013-09-27
 
126 simpler/better way to put a border/outline around my TextView?
admin
33296   2013-09-27
 
125 sub menu
admin
35387   2013-10-02
 
124 android Tap Layout example
admin
31917   2013-10-02
 
123 android layout
admin
36493   2013-10-02
 
122 Android Custom List View using Custom Adapter Example
admin
54332   2013-10-04
 
121 Android UI layout 잘된 설명
admin
36386   2013-10-04
 
120 UI 디자인을 위한 체크리스트 (Checklist for UI design)
admin
33345   2013-11-02
 
119 UX 디자인 7가지 비밀 제대로 활용되지 못하는 UX 디자인의 뻔한 비밀들
admin
32434   2013-11-02
 
118 UI 디자인을 잘하기 위한 테크닉 80
admin
32532   2013-11-02
 
117 UI DESIGN 요정정리
admin
34461   2013-11-02