SensorCore SDK samples

We offer you with sample applications to help you get started with the Lumia SensorCore SDK.

Quick Start

The Quick Start sample shows general patterns and practices on how one should use the SensorCore SDK to ensure stability and compatibility. Note that the same essential patterns and practices are used in other samples in an identical way, although they are only documented in detail in the Quick Start.

Activities

Activities is a sample application that demonstrates the use of the Activity Monitor API. The Activity Monitor API offers functionality to query the current activity performed by the user, receive notifications when the activity changes, as well as keep a history log that contains up to 10 days of recorded activities. In this sample application, history data is used to display a graph of a user's activities during the current day, and up to 10 days in the past.

The SensorCore SDK supports the following activities: Unknown, Idle, Stationary, Moving, Walking, Running, MovingInVehicle, and Biking. MovingInVehicle and Biking activities are available on devices that have at least WP8.1 update 2 software installed. Also, in order to detect Biking activity, system location setting and Detailed data collection in Motion data settings need to be enabled.

Mt574031.activities-sample(en-us,WIN.10).jpg

Downloads

Activities project

v1.2.0.0

activities_uwp-v1.2.0.0.zip

This sample application is hosted in GitHub, where you can check the latest activities, report issues, browse the source code, ask questions, or even contribute to the project yourself.

Get the app from Windows Phone store