IndoorLocationProvider using websockets to retrieve the user position from a server
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Update dependencies Apr 10, 2018
gradle/wrapper Update dependencies Apr 10, 2018
socketlocationprovider Update dependencies Apr 10, 2018
.gitignore Initial commit Jan 16, 2018
LICENSE Initial commit Jan 16, 2018
README.md Add readme Jan 26, 2018
build.gradle Update dependencies Apr 10, 2018
gradle.properties Initial commit Jan 16, 2018
gradlew Initial commit Jan 16, 2018
gradlew.bat Initial commit Jan 16, 2018
settings.gradle Initial commit Jan 16, 2018

README.md

Get user position from Wi-Fi infrastructures on Android

This provider allows you to retrieve IndoorLocations from a server using web socket. In particular, it's perfect to retrieve locations from Wi-Fi infrastructures.

This provider needs to be connected to a SocketIndoorLocationEmitter server. Multiple emitters are available:

Use

Instanciate the provider with your emitter URL:

socketIndoorLocationProvider = new SocketIndoorLocationProvider(this, "YOUR_SERVER_SOCKET_ADDRESS");

Set the provider in your Mapwize SDK:

mapwizePlugin.setLocationProvider(socketIndoorLocationProvider);     

Demo app

A simple demo application to test the provider is available in the /app directory.

You will need to set your credentials in SocketIndoorLocationProviderDemoApp and MapActivity.

Sample keys are given for Mapwize and Mapbox. Please note that those keys can only be used for testing purposes, with very limited traffic, and cannot be used in production. Get your own keys from mapwize.io and mapbox.com. Free accounts are available.

Contribute

Contributions are welcome. We will be happy to review your PR.

Support

For any support with this provider, please do not hesitate to contact support@mapwize.io

License

MIT