三星 Galaxy ACE 并尝试将我的手机与 MOb-58 打印机配对
我在android中编写了蓝牙程序,它工作正常。但是,当我尝试在 samsung Galaxy ace 中运行我的 apk 并尝试将我的手机与 MOb-58 打印机配对时,它会要求 4 到 5 次相同的配对密码。
I have written Bluetooth program in android it working fine. But when I am trying to run my apk in samsung galaxy ace and trying to pair my mobile with MOb-58 printer it will ask 4 to 5 times the same password for pairing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题可能出在您的连接上。
您可以运行连接代码直到连接成功。相反,您可以创建一个方法并将连接代码放在那里。之后只需调用 Outputstream 即可打印数据。
The problem may be in your connectivity.
You may running the code of connectivity until it gets connected. Instead of that you can make a method and put the connectivity code there. And after that just call the Outputstream to print the data.