Skip to content

Commit ddf8c24

Browse files
committed
[commit] add DeviceInfo
1 parent e629b0c commit ddf8c24

File tree

2 files changed

+1620
-0
lines changed

2 files changed

+1620
-0
lines changed

README.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,73 @@
8484
* getNavigationBarHeight 获取导航栏高度
8585
* getScreenSize 获取屏幕尺寸
8686

87+
- DeviceInfo.java 设备信息工具
88+
* getLibraryVersion
89+
* getAndroidID 获取设备ID
90+
* getModel
91+
* getBuildBrand
92+
* getBuildHost
93+
* getBuildTags
94+
* getBuildTime 获取系统编译时间
95+
* getBuildUser 获取系统编译作者
96+
* getBuildVersionRelease
97+
* getBuildVersionRelease 获取编译版本
98+
* getScreenDisplayID
99+
* getBuildVersionCodename
100+
* getBuildVersionIncremental
101+
* getBuildVersionSDK
102+
* getBuildID
103+
* getSupportedABIS
104+
* getStringSupportedABIS
105+
* getStringSupported32bitABIS
106+
* getStringSupported64bitABIS
107+
* getSupported32bitABIS
108+
* getSupported64bitABIS
109+
* getManufacturer
110+
* getResolution
111+
* getCarrier 获取网络运营商:中国电信,中国移动,中国联通
112+
* getDevice
113+
* getBootloader
114+
* getBoard
115+
* getDisplayVersion
116+
* getLanguage 获取语言
117+
* getNetworkType 获取网络类型
118+
* getOSCodename 获取系统代码:Lollipop
119+
* getOSVersion 获取系统版本:5.1.1
120+
* getWifiMAC 获取Mac地址
121+
* getIMEI 获取IMEI号
122+
* getIMSI 获取IMSI号
123+
* getSerial 获取设备序列号
124+
* getSIMSerial 获取SIM序列号
125+
* getGSFID 获取GSF序列号
126+
* getBluetoothMAC 获取蓝牙地址
127+
* getPsuedoUniqueID
128+
* getPhoneNo 获取电话号码
129+
* getProduct
130+
* getFingerprint 获取手指点击的坐标
131+
* getHardware
132+
* getRadioVer
133+
* getIPAddress 获取IPv4的IP地址
134+
* getUA 获取的浏览器信息(User-Agent)
135+
* getLatLong 获取地址位置
136+
* getDisplayXYCoordinates
137+
* getTime 获取手机当前时间
138+
* getFormatedTime 获取手机当前时间(格式化后)
139+
* getAppName 获取应用名称
140+
* getAppVersion 获取应用版本
141+
* getAppVersionCode 获取版本代码
142+
* getActivityName 获取Activity名称
143+
* getPackageName 获取包名
144+
* getStore
145+
* getDensity 获取得屏幕密度
146+
* getAccounts 获取google账号
147+
* isNetworkAvailable 网络是否可用
148+
* isRunningOnEmulator 当前设备是否是模拟器
149+
150+
87151
License
88152
----
153+
89154
Copyright (C) 2016 android@19code.com
90155

91156
Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)