Pedometer Plug-in

//Pedometer Plug-in

Plug-in Overview

This plug-in uses the device’s inbuilt accelerometer to accurately detect step events and associated step force, which can be used to disambiguate between running and walking.

  • Plug-in ID: org.ambientdynamix.contextplugins.pedometer

Supported Context Types

Context Type Privacy Risk Level Data Types Description
<PLUGID> LOW IPedometerStepinfo Represents a step event with associated force.
Descriptions of the data types above can be found in the JavaDocs at the end of this page.

Web App Usage

Integrate Dynamix into your Web app, as described here.

Add context support as follows:

Your app will start receiving events whenever the user is walking or running. See the JavaDocs below for details on the available context event data. Context events can be handled like this in your Web app’s dynamix_listener.js file:

Native App Usage

Integrate Dynamix into your native app, as described here.

Add context support as follows:

[DataType JAR Download data-type-download=””]

Context events can be handled like this:

[Context Info Blurb context-info-blurb=””]
By | 2017-09-29T23:39:00+00:00 February 5th, 2010|Plugins|Comments Off on Pedometer Plug-in