Android – Get Brand name and Device name
Here I am going to show how to fetch some device values:
1. Brand name of Android device (SDK Says: The Brand the software is customized, if any)
=> Build.BRAND
2. Model number of Android device (SDK Says: Device name of Industrial Design)
=> Build.DEVICE
For exaple:
TextView txtView = (TextView) findViewById(R.id.textView1);
txtView.setText("n Brand => "+Build.BRAND);
txtView.append("n Device => "+Build.DEVICE);