Finding Android Bluetooth Paired Devices

前端 未结 3 1808
谎友^
谎友^ 2020-12-19 17:23

I\'m trying to create an image button that, when pressed, presents the users a list of Paired Bluetooth devices to connect to.

However, I get \"Set cannot be resolve

3条回答
  •  無奈伤痛
    2020-12-19 17:46

    Just remove ##1 and ##2 respectively from ##1Set and ##2mArrayAdapter on your code. I think you'd just copy/paste from another source and did not pay attention to. That is not part of the original code. It just used for list number purposes.

提交回复
热议问题