关于Build类的介绍
这个类为一个获取设备一些初始化信息的类,该类的主要信息都是通过一些static的字段获得:
public static final String
The name of the underlying board, like "goldfish".(设备厂商)
public static final String
The system bootloader version number.
public static final String
The brand (e.g., carrier) the software is customized for, if any.
public static final String
The name of the instruction set (CPU type + ABI convention) of native code.
import android.content.Context;
import android.telephony.TelephonyManager;
/**
* 读取手机设备信息测试代码
* http://www.souapp.com 搜应用网
* [email protected]
* 宋立波
*/
public class PhoneInfo {
private TelephonyManager telephonyManager;
/**
* 国际移动用户识别码
*/
private String IMSI;
private Context cxt;
public PhoneInfo(Conte