neXenio / BLE-Indoor-Positioning

Multilateration using bluetooth beacons
Apache License 2.0
430 stars 129 forks source link

How to setup the BeaconLocationProvider #166

Closed ahumanman closed 4 years ago

ahumanman commented 4 years ago

how do i input my beacons geo coordinates in code. its mentioned that i should use BeaconLocationProvider that could read from the beacons advertising data but how does the library read that data from the beacon and know and distinguish if what its reading is the longitude or latitude. sorry for the basic question but im pretty to new to beacon development and android.

Steppschuh commented 4 years ago

Please have a look at #80 and #144

In the sample app, there's an IBeaconLocationProvider in BluetoothClient providing hardcoded geo coordinates. You can implement something different depending on your use-case, e.g. fetching the geo coordinates from an API instead.