한국어

스마트폰앱

온누리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 [5장] 레이아웃_ 안드로이드 프로그래밍의 모든 것
admin
42269   2013-11-05
 
25 가상 디바이스에 apk파일 설치하기 안드로이드 악성 코드 분석 디컴파일 file
admin
42271   2014-02-13
 
24 Android Sliding Drawer Functionality 안드로이드 슬라이딩 드로우 예제 sample
admin
43026   2015-03-18
 
23 Android Activity lifecycle file
admin
43237   2014-03-27
 
22 Show Phone Contacts In AutoComplete Suggestions - Android Example
admin
43699   2014-01-29
 
21 android AudioTrack Class android-audiotrack-buffering-problems
admin
43808   2014-03-31
 
20 안드로이드/Android ExpandableListView 만들기 - 2 - (속성 추가)
admin
43991   2013-11-18
 
19 자바 숫자만 추출 하기
admin
44346   2014-03-28
 
18 Text auto scale Resize to Fit within Bounds editText very easy
admin
44627   2013-11-17
 
17 Android: Screen Densities, Sizes, Configurations, and Icon Sizes
admin
45396   2013-04-27
 
16 안드로이드/Android Handler 와 Timer(TimerTask) 를 활용한 Intro 화면 구성
admin
46892   2013-11-18
 
15 Android Drawable XML Documentation
admin
46894   2014-01-29
 
14 Supporting Multiple Screens Android
admin
47550   2013-04-27
 
13 Using the Android* x86 NDK with Eclipse* and Porting an NDK Sample App
admin
48572   2013-09-23
 
12 How to retrieve the Device Unique ID from android device Every times same file
admin
49121   2014-01-15
 
11 Progress Bar Circle android example
admin
49384   2014-03-29
 
10 [Android] GridView Calendar - 그리드 뷰 캘린더 (달력 그리기 예제)
admin
53007   2014-05-10
 
9 Android 개발시 Fragment 를 이용해서 화면 구성하기
admin
53268   2013-11-10
 
8 스마트폰의 A-GPS 원리 및 3G/4G/WIFI를 이용한 위치추정
admin
55623   2013-11-10
 
7 SharedPreferences.onSharedPreferenceChangeListener not being called consistently
admin
55802   2014-02-04
 
6 Android Custom List View using Custom Adapter Example
admin
56695   2013-10-04
 
5 Android audio streaming with OpenSL ES and the NDK.
admin
58292   2014-03-31
 
4 안드로이드 Android Cursor를 이용한 DB 데이터 사용 하기
admin
62140   2013-11-18
 
3 Souce Code of com.android.phone.DTMFTwelveKeyDialer
admin
69636   2013-09-09
 
2 Code examples for android.media.ToneGenerator
admin
70117   2014-07-20
 
1 휴대폰 정보 가져오기 음성통화 데이터통신 상태 망사업자명 전화번호 IMEI android
admin
120153   2018-11-25