本文介绍了Codenameone蓝牙API在Android上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从 https://github.com/chen-fishbein/bluetoothle-codenameone下载了BluetoothDemo.我使用代号为一的构建服务器创建了APK文件,并将其安装在我的android手机上.它不起作用.有什么办法可以解决?

I have downloaded BluetoothDemo from https://github.com/chen-fishbein/bluetoothle-codenameone. I created APK file using codename one build server and install it on my android mobile. Its not working. Is there any way to fix it?

我可以使用AVD Manager或类似工具从netbeans运行相同的代码,以便自己调试吗?

Can I run the same from netbeans using AVD manager or something similar to that so that I can debug it myself?

如果我手动启动了蓝牙,则单击初始化"或开始扫描"选项后,手机上将出现错误-

If I started bluetooth manually, following is error on mobile phone on click of initialize or start scan option-

附加了错误快照

推荐答案

您还需要添加 https://github.com/shannah/CN1JSON/ cn1lib并使用codenameone-refresh cn1libs操作进行安装

You need to also add the https://github.com/shannah/CN1JSON/ cn1lib and install it using the codenameone-refresh cn1libs action

这篇关于Codenameone蓝牙API在Android上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-13 01:41