我有以下代码。
String androidOS = Build.VERSION.RELEASE;
String model = Build.MODEL;
String device = Build.DEVICE;
String var = "Android "+androidOS+"\n"+model+"\n"+device;
TextView tv = (TextView)view. findViewById(R.id.textView3);
tv.setText(var);
如果我想要 String 的第一个字母 device = Build.DEVICE; 是资本,我该怎么办?