Skip to content
This repository was archived by the owner on Jun 18, 2023. It is now read-only.

denzilferreira/com.aware.plugin.google.activity_recognition

Repository files navigation

AWARE: Google Activity Recognition

Release

This plugin uses Google Location API's to capture users mode of transportation: still, walking, running, biking, in vehicle (car, bus).

Settings

Parameters adjustable on the dashboard and client:

  • status_plugin_google_activity_recognition: (boolean) activate/deactivate plugin
  • frequency_plugin_google_activity_recognition: (integer) How frequently to detect user's activity (in seconds)

Broadcasts

ACTION_AWARE_GOOGLE_ACTIVITY_RECOGNITION Broadcasted when we have a new activity inference, with the following extras:

  • activity: (int) the current DetectedActivity
  • confidence: (int) how confident is the prediction (0-100%)

Providers

Google Activity Recognition Data

content://com.aware.plugin.google.activity_recognition.provider.gar/plugin_google_activity_recognition

Field Type Description
_id INTEGER primary key auto-incremented
timestamp REAL unix timestamp in milliseconds of sample
device_id TEXT AWARE device ID
activity_name TEXT human-readable activity name: unknown, tilting, on_foot, in_vehicle, on_bicycle, running, walking
activity_type INTEGER one of DetectedActivity
confidence INTEGER prediction accuracy (0-100%)
activities TEXT JSON array with other potential activities, e.g., [{'activity':'walking','confidence':90},...]

About

Plugin that uses Google Location APIs to capture users mode of transportation: still, walking, running, biking, in vehicle (car, bus).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages