tags:

views:

65

answers:

2

How do I find the make and model of an Android device?

+1  A: 

This should help.

Build.DEVICE;

Build.BRAND;

etc...

fredley
For example if I'm using a HTC Legend? How do I find it out?
Ragunath Jawahar
I'm not sure what the exact results will be, run it on an HTC Legend (or get someone else to) and find out!
fredley
Thanks @fredley. This one works.
Ragunath Jawahar
+2  A: 

android.os.Build contains properties you are interested in.

Build.MODEL, Build.PRODUCT and Build.MANUFACTURER should give you the info you need. They are all String objects.

ageektrapped
Worked for me, thanks @ageektrapped
Ragunath Jawahar