Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Get HyperTrack data directly on your Android app to build views

NotificationsYou must be signed in to change notification settings

hypertrack/sdk-views-android

Repository files navigation

The Android Views SDK is used for getting live location and movement data for devices and trips directly to your Android app. This module subscribes to HyperTrack's GraphQL server end points to get data streams and then renders it in useful callbacks for app developers to build beautiful tracking experiences. This helps developers creating live location views go serverless. Their app users can directly get data securely and privately from the HyperTrack servers.

Integrate the Views SDK

Check theIntegration Guide

Frequently Asked Questions

Supported versions

Currently we do support all of the Android versions starting from API 19 (Android 4.4 Kit Kat)

Get device id

Device id is a way to reference particular device, that is tracked by HyperTrack SDK.Generally, it's your application logic which devices should be displayed and how to filter/prioritize/selectthe one you need to track. If you have doubts regarding how to integrate HyperTrack SDK - look intocorrespondingquickstart section.Once integration is done, device id can be obtained viaHyperTrack.getDevcieid() call on initialized SDK.

Not Only Views in Views

Although view is associated with something, that should be visual, here it means view on data, thatyou retrieve fromHyperTrack SDK. Tricky part isthat application success nowadays is highly dependends on quality of user experience, that is hardlyachievable without fine-grained tuning of UI elements. So using real-time data pushed to your device,you can build exactly the same views you really want. Anyway, ready to use UI elements will be addedto upcoming library releases.

Track multiple devices

You can subscribe to more than one device by executingsubscribeToDeviceUpdates multiple times withdifferent device ids. Subscription updates consumer can be the same (e.g. map fragment), since eachupdate has device id field for identification.

Trips Tracking

Each trip has a device id, for which it was created, pass that id tosubscribeToDeviceUpdates andyou'll receive all the trip recalculations and delays intoonTripUpdateReceived callback.

Battery State Constants

Using enums in Android isdiscouraged,so we're using numerical values to represent BatteryState. Check outreferencefor exact values meaning.

About

Get HyperTrack data directly on your Android app to build views

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2026 Movatter.jp