I am working on an application, where there is some code implementation difference for samsung and htc, kindly have a look at my SO question
Sending SMS to multiple
Try this code.
String strManufacturer = android.os.Build.MANUFACTURER;
It will return name of Manufacturer. Ex Htc
String str = android.os.Build.MODEL;
It will returns name of device. Ex Htc Explorer , HTC Smith
Look at this link for further info.