Often encounter the need to get information about Android phone devices, to do business development, such as often encountered to get the type of CPU to do the dynamic download of so library. And these are all in the Android build class. The relevant information is as follows:
PrivateString Loadsysteminfo () {StringBuilder sb=NewStringBuilder (); Sb.append ("Motherboard:" + Build.board + "\ n"); Sb.append ("System Boot Program version number:" + Build.bootloader + "\ n"); Sb.append ("System customizer:" + Build.brand + "\ n"); Sb.append ("CPU instruction Set:" + Build.cpu_abi + "\ n"); Sb.append ("CPU Instruction Set 2" + Build.cpu_abi2 + "\ n"); Sb.append ("Set parameter:" + Build.device + "\ n"); Sb.append ("Display parameters:" + build.display + "\ n"); Sb.append ("Radio firmware version:" + build.getradioversion () + "\ n"); Sb.append ("Hardware Identification code:" + build.fingerprint + "\ n"); Sb.append ("Hardware name:" + build.hardware + "\ n"); Sb.append ("HOST:" + build.host + "\ n"); Sb.append ("Revision list:" + build.id + "\ n"); Sb.append ("Hardware manufacturer:" + build.manufacturer + "\ n"); Sb.append ("Version:" + Build.model + "\ n"); Sb.append ("Hardware serial Number:" + build.serial + "\ n"); Sb.append ("Handset Manufacturer:" + build.product + "\ n"); Sb.append ("Description of the Build tag:" + build.tags + "\ n"); Sb.append ("Time:" + build.time + "\ n"); Sb.append ("Builder Type:" + Build.type + "\ n"); Sb.append ("USER:" + build.user + "\ n"); MYLOG.D (Sb.tostring ()); returnsb.tostring (); }
Concluding remarks: The knowledge used is best to run and write.
About Android Build class--Get all kinds of information about Android phone device