How can I get the device name in Android?
How can I get the device name programmatically in Android?
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);
Link to Android Build Class
android.os.Build.MANUFACTURER + android.os.Build.MODEL