Device Check (Samsung vs Others)

前端 未结 2 2013
暗喜
暗喜 2021-01-01 17:09

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

相关标签:
2条回答
  • 2021-01-01 17:46

    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.

    0 讨论(0)
  • 2021-01-01 17:59
    String manufacturer = android.os.Build.MANUFACTURER;
    

    example:

    Sony Ericsson

    samsung

    HTC

    0 讨论(0)
提交回复
热议问题