String TAG = "SystemInfo";String board = Build.BOARD;Log.i("TAG",String.Format("主板信息:%s",board));String brand = Build.BRAND;Log.i("TAG",String.Format("Android系统定制商:%s",brand));String device = Build.DEVICE;Log.i("TAG",String.Format("设备参数信息:%s",device));String display = Build.DISPLAY;Log.i("TAG",String.Format("显示器参数信息:%s",display));String fingerprint = Build.FINGERPRINT;Log.i("TAG",String.Format("唯一编号信息:%s",fingerprint));String id = Build.ID;Log.i("TAG",String.Format("修订版本列表信息:%s",id));String manufacturer = Build.MANUFACTURER;Log.i("TAG",String.Format("硬件制造商信息:%s",manufacturer));String model = Build.MODEL;Log.i("TAG",String.Format("版本信息:%s",model));String hardware = Build.HARDWARE;Log.i("TAG",String.Format("硬件信息:%s",hardware));String product = Build.PRODUCT;Log.i("TAG",String.Format("安卓产品名信息:%s",product));String tags = Build.TAGS;Log.i("TAG",String.Format("描述Build的标签信息:%s",tags));String type= Build.TYPE;Log.i("TAG",String.Format("Builder类型信息:%s",type));String codename = Build.VERSION.CODENAME;Log.i("TAG",String.Format("当前开发代号信息:%s",codename));String incremental = Build.VERSION.INCREMENTAL;Log.i("TAG",String.Format("源码控制版本信息:%s",incremental));String release = Build.VERSION.RELEASE;Log.i("TAG",String.Format("版本字符串信息:%s",release));String sdk_int = Build.VERSION.SDK_INT;Log.i("TAG",String.Format("版本号信息:%s",sdk_int));String host = Build.HOST;Log.i("TAG",String.Format("Host值信息:%s",host));String user = Build.USER;Log.i("TAG",String.Format("User名信息:%s",user));String time = Build.TIME;Log.i("TAG",String.Format("编译时间信息:%s",time));
获取并输出当前安卓设备的系统信息
最新推荐文章于 2021-05-26 23:26:33 发布