한국어

스마트폰앱

온누리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 휴대폰 정보 가져오기 음성통화 데이터통신 상태 망사업자명 전화번호 IMEI android
admin
2018-11-25 114659
145 Souce Code of com.android.phone.DTMFTwelveKeyDialer
admin
2013-09-09 65932
144 Code examples for android.media.ToneGenerator
admin
2014-07-20 61146
143 안드로이드 Android Cursor를 이용한 DB 데이터 사용 하기
admin
2013-11-18 56847
142 Android Custom List View using Custom Adapter Example
admin
2013-10-04 52819
141 스마트폰의 A-GPS 원리 및 3G/4G/WIFI를 이용한 위치추정
admin
2013-11-10 50589
140 SharedPreferences.onSharedPreferenceChangeListener not being called consistently
admin
2014-02-04 48659
139 Android audio streaming with OpenSL ES and the NDK.
admin
2014-03-31 48334
138 [Android] GridView Calendar - 그리드 뷰 캘린더 (달력 그리기 예제)
admin
2014-05-10 46093
137 Android 개발시 Fragment 를 이용해서 화면 구성하기
admin
2013-11-10 45420
136 Using the Android* x86 NDK with Eclipse* and Porting an NDK Sample App
admin
2013-09-23 44876
135 Supporting Multiple Screens Android
admin
2013-04-27 43999
134 Progress Bar Circle android example
admin
2014-03-29 43730
133 How to retrieve the Device Unique ID from android device Every times same file
admin
2014-01-15 42463
132 Android: Screen Densities, Sizes, Configurations, and Icon Sizes
admin
2013-04-27 42129
131 Android Drawable XML Documentation
admin
2014-01-29 41611
130 안드로이드/Android Handler 와 Timer(TimerTask) 를 활용한 Intro 화면 구성
admin
2013-11-18 40675
129 Text auto scale Resize to Fit within Bounds editText very easy
admin
2013-11-17 39510
128 안드로이드/Android ExpandableListView 만들기 - 2 - (속성 추가)
admin
2013-11-18 39309
127 자바 숫자만 추출 하기
admin
2014-03-28 38599
126 Android Sliding Drawer Functionality 안드로이드 슬라이딩 드로우 예제 sample
admin
2015-03-18 38287
125 Android Activity lifecycle file
admin
2014-03-27 37767
124 [5장] 레이아웃_ 안드로이드 프로그래밍의 모든 것
admin
2013-11-05 37754
123 Show Phone Contacts In AutoComplete Suggestions - Android Example
admin
2014-01-29 37644
122 mysql java driver JDBC mysql-connector-java-5.1.22 file
admin
2013-04-20 37507
121 How to disable Mobile Data on Android
admin
2013-03-31 37478
120 Customizing Toast In Android Showing Toast for Longer Time Great Code
admin
2013-11-04 37411
119 GIS 좌표체계와 대한민국의 좌표계
admin
2013-03-31 37287
118 가상 디바이스에 apk파일 설치하기 안드로이드 악성 코드 분석 디컴파일 file
admin
2014-02-13 37261
117 android AudioTrack Class android-audiotrack-buffering-problems
admin
2014-03-31 37198