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 recepients (Samsung vs HTC)
How can I put a check for if the device is samsung or others(htc)
MAC
String manufacturer = android.os.Build.MANUFACTURER;
example:
Sony Ericsson
samsung
HTC
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.
来源:https://stackoverflow.com/questions/11700824/device-check-samsung-vs-others