返回顶部

收藏

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;  
    }  

标签:java

收藏

0人收藏

支持

0

反对

0

发表评论