Giter Site home page Giter Site logo

android-sdk-examples's Introduction

IndoorAtlas SDK Examples for Android

IndoorAtlas provides a unique Platform-as-a-Service (PaaS) solution that runs a disruptive geomagnetic positioning in its full-stack hybrid technology for accurately pinpointing a location inside a building. The IndoorAtlas SDK enables app developers to use high-accuracy indoor positioning in venues that have been fingerprinted.

This example app showcases the IndoorAtlas SDK features and acts as a reference implementation for many of the basic SDK features. Getting started requires you to set up a free developer account and fingerprint your indoor venue using the IndoorAtlas MapCreator tool.

There are also similar examples for iOS in Objective-C and Swift.

Getting Started

Set up your account

Set up your API keys

To run the examples you need to configure your IndoorAtlas API keys. If you do not have keys yet, go to https://app.indooratlas.com and sign up.

Once you have API keys, edit them into gradle.properties in the project root level.

Examples

Simple Example

  • Simple Example: This is the hello world of IndoorAtlas SDK. Displays received location updates as log entries.

Imageview Example

  • ImageView: Automatically downloads the floor plan that user has entered and displays it using Dave Morrissey's https://github.com/davemorrissey/subsampling-scale-image-view. This is a great library for handling large images! The example also demonstrates smoothly animating the blue dot and how to set up OrientationListener for obtaining device heading information.

Google Maps - Overlay Example

  • Google Maps - Overlay: Just like Google Maps - Basic but demonstrates how to place floor plan on world map by coordinates.

Open Street Map Overlay Example

Automatic Venue and Floor Detection Example

Wayfinding Example

  • Wayfinding Example: In this example, a wayfinding graph json file is loaded. On the UI, you'll see your current location, and when you tap another point on the floorplan, you'll be shown a wayfinding route to that location.

  • Note: to setup, you need to draw a wayfinding graph for your venue using app.indooratlas.com and save it. Obviously you also need to fingerprint the venue and generate a map.

Location Sharing aka "Find your friend" Example

  • Location sharing: Demonstrates sharing location via 3rd party cloud service. Can be used as an example of an multidot application.

Foreground Service Positioning Example

Geofences Example

  • Geofences: Demonstrates how to set geofences and receive the geofence events.

Orientation Example

  • Orientation: Demonstrates IndoorAtlas 3D Orientation API.

Set Credentials from Code Example

  • Set credentials: Demonstrates how to set IndoorAtlas credentials from code in runtime.

Documentation

The IndoorAtlas SDK API documentation is available in the documentation portal: http://docs.indooratlas.com/android/

SDK Changelog

http://docs.indooratlas.com/android/CHANGELOG.html

License

Copyright 2015-2019 IndoorAtlas Ltd. The IndoorAtlas SDK Examples are released under the Apache License. See the LICENSE.md file for details.

android-sdk-examples's People

Contributors

anttimalo avatar asolin avatar denzilferreira avatar jraanamo avatar matti-ida avatar mhv1 avatar mippe avatar mporvali avatar oseiskar avatar osmaa avatar simomar avatar tonimakkonen avatar vallivaara avatar vatolvan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.