【发布时间】:2012-11-06 05:16:03
【问题描述】:
我已经尝试过 Android SDK 的蓝牙聊天示例代码。代码没有错误,在设备上安装了APK,打开蓝牙聊天时,抛出强制关闭。
我使用的是真机调试,即 Galaxy Nexus S。
请帮帮我。 .提前致谢。
【问题讨论】:
-
@lokesh and anoop 好的 .. 代码在文档本身中,名为 Bluetooth chat 。我观察到,如果我删除以下行 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); ,不抛出异常。还有一件事,我有 android 第 15 版,我在 Galaxy nexus 的果冻豆上运行它。感谢您的评论。我在等我的答案。
标签: android bluetooth forceclose