I want to get Device Name which is using my Android App. How to get Android Mobile Model Number in android programmically?
It will implement in a Game which will create list of Devices using that Game for long time.
- 5 years ago
use Build class to get Mobile model number or Brand Name android programmatically
Build.BRAND will return a string value of Your Mobile Brand
android.os.Build.MODEL will retring String value which has Your Mobile's Model number / Full Mobile name
Toast.makeText(ChangePasswordActivity.this, Build.BRAND + " " + android.os.Build.MODEL, Toast.LENGTH_SHORT).show();
Hot Questions