3

私はビーコンのアプリを作ったので、アンドロイド4.1(API 16)に適応したいと思います。 ビーコンはBLEを使用しますが、バージョン4.3以降で実装されています。 古典的なBluetoothを使用して検出することは可能ですか?古いバージョンからAndroid 4.3を使用してビーコンを検出

E/dalvikvm: Could not find class 'android.bluetooth.BluetoothManager', referenced from method org.altbeacon.beacon.BeaconManager.checkAvailability 
E/dalvikvm: Could not find class 'com.orhanobut.hawk.Hawk$2', referenced from method com.orhanobut.hawk.Hawk.getObservable 
E/dalvikvm: Could not find class 'com.orhanobut.hawk.Hawk$1', referenced from method com.orhanobut.hawk.Hawk.putObservable 
E/dalvikvm: Could not find class 'com.orhanobut.hawk.HawkBuilder$2', referenced from method com.orhanobut.hawk.HawkBuilder.buildRx 
+0

短答:いいえ、BLE!= Bluetooth。 – 323go

+0

いいえ、次にminSdkVersion 18 –

答えて

0

ビーコンは、Bluetooth LE、ないのBluetoothクラシックでのみ動作します。 Bluetooth LEの検出は一般的ににはAndroid 4.3以上が必要です

唯一の例外は、在庫ROMが4.2.xを実行している一部のSamsungデバイスであることです。 Samsungは独自のAPIを使用して独自のBluetooth LEスタックを構築しました。 A branch of the Android Beacon Libraryはこれらのデバイスのサポートを追加しました。

関連する問題