【发布时间】:2015-04-20 13:13:48
【问题描述】:
我的一些 Estimote 信标在 Android 软件版本 4.3 的 Android 手机中没有被检测到。其他 Android 设备(4.4.2 版、4.4.4 版和 5 版)检测到相同的信标,但 4.3 版的设备检测不到。我正在使用不带过滤器的 DemoApp 在 4.3 版中测试相同的场景。一些信标被检测到,但不是全部。
我还检查了 demoApp 中的 AndroidManitest.xml。它有 android:minSdkVersion="18" 安卓:targetSdkVersion="18"。
这是 Android 版本 4.3。 // 我的手机 HUAWEI G6-U10 型号有 Android 4.3 并且有蓝牙 LowEnergy。但是一些信标失败了
某些信标在此列表中被忽略列出信标
@Override
public void onBeaconsDiscovered(Region region, final List<Beacon> beacons) {
// Note that results are not delivered on UI thread.
runOnUiThread(new Runnable() {
@Override
public void run() {
// Note that beacons reported here are already sorted by estimated
// distance between device and beacon.
getActionBar().setSubtitle("Found beacons: " + beacons.size());
adapter.replaceWith(beacons);
}
});
}
【问题讨论】:
-
你用的是什么手机?
-
我的手机 HUAWEI G6-U10 型号是 Android 4.3 并且有蓝牙 LowEnergy。但是一些信标失败了
-
请在这里查看一些提示stackoverflow.com/a/29643717/2401535
标签: android bluetooth-lowenergy ibeacon ibeacon-android estimote