關(guān)鍵類(lèi):android.os.Build.*
為潁泉等地區(qū)用戶提供了全套網(wǎng)頁(yè)設(shè)計(jì)制作服務(wù),及潁泉網(wǎng)站建設(shè)行業(yè)解決方案。主營(yíng)業(yè)務(wù)為成都做網(wǎng)站、成都網(wǎng)站建設(shè)、潁泉網(wǎng)站設(shè)計(jì),以傳統(tǒng)方式定制建設(shè)網(wǎng)站,并提供域名空間備案等一條龍服務(wù),秉承以專(zhuān)業(yè)、用心的態(tài)度為用戶提供真誠(chéng)的服務(wù)。我們深信只要達(dá)到每一位用戶的要求,就會(huì)得到認(rèn)可,從而選擇與我們長(zhǎng)期合作。這樣,我們也可以走得更遠(yuǎn)!如果需要針對(duì)不同手機(jī)品牌做適配,可以通過(guò)手機(jī)廠商(Manufacturer)信息做代碼控制,更精確一些可以使用型號(hào)(Model),Model可以更精確指向一款手機(jī)。
下面記錄我手里的幾臺(tái)手機(jī)的信息:
可見(jiàn)Product和Device獲取的信息也不太穩(wěn)定,如紅米3得到的都是ido。
魅藍(lán)Note5
ID: NRD90M
DISPLAY: Flyme 6.3.0.2A
PRODUCT: meizu_M5 Note
DEVICE: M5Note
BOARD: M5 Note
MANUFACTURER: Meizu
BRAND: Meizu
MODEL: M5 Note
HARDWARE: mt6755
SERIAL:
RELEASE: 7.0
SDK_INT: 24
SUPPORTED_ABIS: [arm64-v8a, armeabi-v7a, armeabi]
SUPPORTED_32_BIT_ABIS: [armeabi-v7a, armeabi]
SUPPORTED_64_BIT_ABIS: [arm64-v8a]
一加5T
ID: OPR6.170623.013
DISPLAY: ONEPLUS A5010_43_180315
PRODUCT: OnePlus5T
DEVICE: OnePlus5T
BOARD: msm8998
MANUFACTURER: OnePlus
BRAND: OnePlus
MODEL: ONEPLUS A5010
HARDWARE: qcom
SERIAL:
RELEASE: 8.0.0
SDK_INT: 26
SUPPORTED_ABIS: [arm64-v8a, armeabi-v7a, armeabi]
SUPPORTED_32_BIT_ABIS: [armeabi-v7a, armeabi]
SUPPORTED_64_BIT_ABIS: [arm64-v8a]
紅米3
ID: LMY47V
DISPLAY: LMY47V
PRODUCT: ido
DEVICE: ido
BOARD: msm8916
MANUFACTURER: Xiaomi
BRAND: Xiaomi
MODEL: Redmi 3
HARDWARE: qcom
SERIAL:
RELEASE: 5.1.1
SDK_INT: 22
SUPPORTED_ABIS: [arm64-v8a, armeabi-v7a, armeabi]
SUPPORTED_32_BIT_ABIS: [armeabi-v7a, armeabi]
SUPPORTED_64_BIT_ABIS: [arm64-v8a]
紅米note2
ID: LRX22G
DISPLAY: LRX22G
PRODUCT: hermes
DEVICE: hermes
BOARD: unknown
MANUFACTURER: Xiaomi
BRAND: Xiaomi
MODEL: Redmi Note 2
HARDWARE: mt6795
SERIAL:
RELEASE: 5.0.2
SDK_INT: 21
SUPPORTED_ABIS: [arm64-v8a, armeabi-v7a, armeabi]
SUPPORTED_32_BIT_ABIS: [armeabi-v7a, armeabi]
SUPPORTED_64_BIT_ABIS: [arm64-v8a]
Samsung Galaxy Core Prime(SM-G3608)
ID: KTU84P
DISPLAY: KTU84P.G3608ZMU1AOH2
PRODUCT: rossaltezm
DEVICE: rossalte
BOARD: MSM8916
MANUFACTURER: samsung
BRAND: samsung
MODEL: SM-G3608
HARDWARE: qcom
SERIAL:
RELEASE: 4.4.4
SDK_INT: 19
Log.i(TAG, "ID: " + Build.ID);
Log.i(TAG, "DISPLAY: " + Build.DISPLAY);
Log.i(TAG, "PRODUCT: " + Build.PRODUCT);
Log.i(TAG, "DEVICE: " + Build.DEVICE);
Log.i(TAG, "BOARD: " + Build.BOARD);
Log.i(TAG, "MANUFACTURER: " + Build.MANUFACTURER);
Log.i(TAG, "BRAND: " + Build.BRAND);
Log.i(TAG, "MODEL: " + Build.MODEL);
Log.i(TAG, "HARDWARE: " + Build.HARDWARE);
Log.i(TAG, "SERIAL: " + Build.SERIAL);
Log.i(TAG, "RELEASE: " + Build.VERSION.RELEASE);
Log.i(TAG, "SDK_INT: " + Build.VERSION.SDK_INT);
Log.i(TAG, "SUPPORTED_ABIS: " + Arrays.asList(Build.SUPPORTED_ABIS));
Log.i(TAG, "SUPPORTED_32_BIT_ABIS: " + Arrays.asList(Build.SUPPORTED_32_BIT_ABIS));
Log.i(TAG, "SUPPORTED_64_BIT_ABIS: " + Arrays.asList(Build.SUPPORTED_64_BIT_ABIS));
@Override
protected void onStart() {
super.onStart();
EventBus.getDefault().register(this);
}
@Override
protected void onStop() {
super.onStop();
EventBus.getDefault().unregister(this);
}
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專(zhuān)為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。
標(biāo)題名稱(chēng):獲得手機(jī)硬件信息-創(chuàng)新互聯(lián)
URL標(biāo)題:http://aaarwkj.com/article6/cojdog.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供外貿(mào)建站、電子商務(wù)、外貿(mào)網(wǎng)站建設(shè)、關(guān)鍵詞優(yōu)化、網(wǎng)站內(nèi)鏈、ChatGPT
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容