android-sdk-examples

Example applications for IndoorAtlas Android SDK

  • 所有者: IndoorAtlas/android-sdk-examples
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

Positioning using Pending Intents

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.

主要指标

概览
名称与所有者IndoorAtlas/android-sdk-examples
主编程语言Java
编程语言Java (语言数: 2)
平台
许可证Apache License 2.0
所有者活动
创建于2015-10-26 08:05:08
推送于2025-06-04 14:09:31
最后一次提交2025-06-04 17:09:22
发布数0
用户参与
星数98
关注者数27
派生数75
提交数274
已启用问题?
问题数36
打开的问题数1
拉请求数80
打开的拉请求数1
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?