Android获取设备信息

    public String getBuild(){  
        Build bd = new Build();  
        String model = bd.MODEL;  
        String buildMode = android.os.Build.MODEL;  
        String buildVersion = android.os.Build.VERSION.RELEASE;  
        String strBuild = "Model:"+model+" | buildMode:"+buildMode+" | buildVersion:"+buildVersion;  
        return strBuild;  
    }  

编程技巧