使用蓝牙打印机设备

时间:2014-07-08 06:07:59

标签: android android-bluetooth

在我的项目中需要搜索蓝牙打印机设备并将其削减并将文本发送到打印机

可以使用任何API搜索蓝牙设备,并将Pared和Sent文本搜索到特定的 设备

2 个答案:

答案 0 :(得分:0)

您的问题:

是否可以使用任何API搜索蓝牙设备?

请参阅this

答案 1 :(得分:0)

Google Play上有很多API可用。就个人而言,我喜欢BlueSerial。您也可以使用BluetoothChat示例代码,它也适用。

  • 使用Eclipse或Android studio将BluetoothChat示例代码上传到设备
  • 配对他们
  • 打开BluetoothChat示例应用
  • 连接到BT设备
相关问题