한국어

스마트폰앱

온누리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

번호
제목
글쓴이
26 How to disable Mobile Data on Android
admin
37999   2013-03-31
 
25 mysql java driver JDBC mysql-connector-java-5.1.22 file
admin
38044   2013-04-20
 
24 Show Phone Contacts In AutoComplete Suggestions - Android Example
admin
38225   2014-01-29
 
23 [5장] 레이아웃_ 안드로이드 프로그래밍의 모든 것
admin
38347   2013-11-05
 
22 Android Activity lifecycle file
admin
38347   2014-03-27
 
21 Android Sliding Drawer Functionality 안드로이드 슬라이딩 드로우 예제 sample
admin
38852   2015-03-18
 
20 자바 숫자만 추출 하기
admin
39116   2014-03-28
 
19 안드로이드/Android ExpandableListView 만들기 - 2 - (속성 추가)
admin
39868   2013-11-18
 
18 Text auto scale Resize to Fit within Bounds editText very easy
admin
40086   2013-11-17
 
17 안드로이드/Android Handler 와 Timer(TimerTask) 를 활용한 Intro 화면 구성
admin
41245   2013-11-18
 
16 Android Drawable XML Documentation
admin
42171   2014-01-29
 
15 Android: Screen Densities, Sizes, Configurations, and Icon Sizes
admin
42704   2013-04-27
 
14 How to retrieve the Device Unique ID from android device Every times same file
admin
43018   2014-01-15
 
13 Progress Bar Circle android example
admin
44282   2014-03-29
 
12 Supporting Multiple Screens Android
admin
44562   2013-04-27
 
11 Using the Android* x86 NDK with Eclipse* and Porting an NDK Sample App
admin
45431   2013-09-23
 
10 Android 개발시 Fragment 를 이용해서 화면 구성하기
admin
45966   2013-11-10
 
9 [Android] GridView Calendar - 그리드 뷰 캘린더 (달력 그리기 예제)
admin
46670   2014-05-10
 
8 Android audio streaming with OpenSL ES and the NDK.
admin
48924   2014-03-31
 
7 SharedPreferences.onSharedPreferenceChangeListener not being called consistently
admin
49188   2014-02-04
 
6 스마트폰의 A-GPS 원리 및 3G/4G/WIFI를 이용한 위치추정
admin
51167   2013-11-10
 
5 Android Custom List View using Custom Adapter Example
admin
53374   2013-10-04
 
4 안드로이드 Android Cursor를 이용한 DB 데이터 사용 하기
admin
57419   2013-11-18
 
3 Code examples for android.media.ToneGenerator
admin
61743   2014-07-20
 
2 Souce Code of com.android.phone.DTMFTwelveKeyDialer
admin
66475   2013-09-09
 
1 휴대폰 정보 가져오기 음성통화 데이터통신 상태 망사업자명 전화번호 IMEI android
admin
115732   2018-11-25