Issue
How can I get the device name programmatically in Android?
Solution
To display the device name/model in android use:
TextView tv1 = (TextView) findViewById(R.id.tv1);
String str = android.os.Build.MODEL;
tv1.setText(str);
Answered By - Rahul Sharma
Answer Checked By - Marilyn (JavaFixing Volunteer)