android芯片配置和参数的获取

Posted android小菜比

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了android芯片配置和参数的获取相关的知识,希望对你有一定的参考价值。

【转发】https://blog.csdn.net/mozushixin_1/article/details/93724849

用build直接获取参数


Log.d("build","BOARD:" + Build.BOARD);
Log.d("build","BOOTLOADER:" + Build.BOOTLOADER);
Log.d("build","BRAND:" + Build.BRAND);
Log.d("build","CPU_ABI:" + Build.CPU_ABI);
Log.d("build","CPU_ABI2:" + Build.CPU_ABI2);
Log.d("build","DEVICE:" + Build.DEVICE);
Log.d("build","DISPLAY:" + Build.DISPLAY);
Log.d("build","FINGERPRINT:" + Build.FINGERPRINT);
Log.d("build","HARDWARE:" + Build.HARDWARE);
Log.d("build","HOST:" + Build.HOST);
Log.d("build","ID:" + Build.ID);
Log.d("build","MANUFACTURER:" + Build.MANUFACTURER);
Log.d("build","MODEL:" + Build.MODEL);
Log.d("build","PRODUCT:" + Build.PRODUCT);
Log.d("build","RADIO:" + Build.RADIO);
Log.d("build","TAGS:" + Build.TAGS);
Log.d("build","TIME:" + Build.TIME);
Log.d("build","TYPE:" + Build.TYPE);
Log.d("build","UNKNOWN:" + Build.UNKNOWN);
Log.d("build","USER:" + Build.USER);
Log.d("build","VERSION.CODENAME:" + Build.VERSION.CODENAME);
Log.d("build","VERSION.INCREMENTAL:" + Build.VERSION.INCREMENTAL);
Log.d("build","VERSION.RELEASE:" + Build.VERSION.RELEASE);
Log.d("build","VERSION.SDK:" + Build.VERSION.SDK);
Log.d("build","VERSION.SDK_INT:" + Build.VERSION.SDK_INT);

以下是部分机型的打印信息:

三星高通芯片note9

华为kirin 980芯片mate 20

以上是关于android芯片配置和参数的获取的主要内容,如果未能解决你的问题,请参考以下文章

ARFoundation入门到精通 - 1.3 ARkit 支持机型

android获取手机机型厂商deviceID基本信息

一加Ace2和iQOO Neo7竞速版区别参数对比选哪个

终端手机排行查询

Android10系统定制配置fridaserver后台进程(Moto Z2 Force机型-libqsap_sdk问题)

js获取判断苹果手机机型