Android – Get Brand name and Device name

By -

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

CEO & Co-Founder at SolGuruz® | Organiser @ GDG Ahmedabad | Top 0.1% over StackOverflow | 15+ years experienced Tech Consultant | Helping startups with Custom Software Development

Loading Facebook Comments ...
Loading Disqus Comments ...