hardware – Get manufacturer name in android device-ThrowExceptions

Exception or error:

I need to check that android device’s manufacturer is dell or not.
But I haven’t dell device, so cant get actually name of manufacture of device(for dell).

I’m using android.os.Build.MANUFACTURER;
Does anyone know that what is the value returned for the above query in case of a dell device?

How to solve:

Here is the wikipedia link about Android devices and MANUFACTURER strings.

EDIT: That Wikipedia page has been deleted. Here is a PDF list from Google Play which lists all supported devices and their manufacturers.

###

Try this:

String deviceName = android.os.Build.MODEL;

Leave a Reply

Your email address will not be published. Required fields are marked *