Skip to content
OnMSFT.com
  • Home
  • About
  • Contact
  • Windows
  • Surface
  • Xbox
  • How-To
  • OnPodcast
  • Edge
  • Teams
  • Gaming
Menu
  • Home
  • About
  • Contact
  • Windows
  • Surface
  • Xbox
  • How-To
  • OnPodcast
  • Edge
  • Teams
  • Gaming
  1. Home
  2. News
  3. Build Windows 10 apps that know users’ motions with new contextual sensing APIs

Build Windows 10 apps that know users’ motions with new contextual sensing APIs

Kellogg Brengel Kellogg Brengel
August 21, 2019
2 min read

Windows 10 APIs

The Windows Apps Team has released a new set of APIs for developers to add contextual sensing to their Windows 10 apps.

These APIs utilize information from various sensors in your devices (sensors like a pedometer or a barometer) to add context based functionality to Windows 10 apps. This is similar to health apps on Windows Phone, like Microsoft Health or Runtastic, that use sensors to track activities levels and step counts. However, it can go beyond just a health and fitness tracking and apply to a wider range of activities.

New Activity Detection APIs allow apps to know the user’s motion context, such as if someone is walking, running, in a vehicle, biking, stationary, or the device is idle and unused. Some of the examples that the Windows Apps Team provides for how to use these APIs are apps that change their behavior based upon the user’s motion context, such as for power saving when the device is idle or auto adjusting camera focus when the user is walking or running.

Build Windows 10 apps that know users' motions with new contextual sensing APIs

The new Barometer API returns information to the app on the user’s elevation based on barometric pressure. This could enable indoor navigation, such as known what floor of the parking garage you parked your car on, weather forecasting, or more detailed health and fitness tracking.

The Windows Apps Team also introduced a Proximity API that can enable a device to wake up or log off based upon the user’s proximity, turn off the display during a phone call, ignore pocket clicks made then the device is in the user’s pocket, and detect gestures.

With these new APIs developers can create apps that are more aware of the user and are more informed by, and useful because of, the context of the user’s activity. This all at the end of the day depends on what sensors and hardware is installed on a device. But as new devices come out, and with the release this week of Windows 10 IoT, these new contextual sensing APIs have the potential to enable smarter apps that are more useful as we go through our daily lives.

Further reading: Microsoft, Windows 10, Windows Apps Team

Share this article:
Tags:
Microsoft Windows 10 Windows Apps Team
Previous Article Microsoft talks about its personal cloud storage plans with SkyDrive Next Article Nokia Lumia 930 up for pre-order on ePrice Italy

Related Articles

Intel Panther Lake laptops see major price hikes due to component shortages, while Apple MacBook M5 models continue with unchanged pricing globally.

Intel Laptop Price Increase Hits Panther Lake Models, Apple MacBook M5 Stays Stable

April 5, 2026
State of Decay 3 Playtests Confirmed With Mutated Zombies and Co-op

State of Decay 3 Playtests Confirmed With Mutated Zombies and Co-op

April 5, 2026
Starfield launches on PS5 with 4K visual mode, 60FPS performance option, DualSense features, and new DLC available at release for players

Starfield Launches on PS5 With Two Modes and Full DualSense Support

April 5, 2026

Leave a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Intel Laptop Price Increase Hits Panther Lake Models, Apple MacBook M5 Stays Stable
  • State of Decay 3 Playtests Confirmed With Mutated Zombies and Co-op
  • Starfield Launches on PS5 With Two Modes and Full DualSense Support
  • ASUS Accused of Failing to Fix Laptop After 10 RMAs, User Denied 11th Request
  • New Rowhammer Attacks Turn NVIDIA GPUs Into a System-Level Security Risk

Recent Comments

  1. XxRIVTYxX on Intel Says It Tried to Help Before Crimson Desert Dropped Arc Support
  2. Gaurav Kumar on Chrome Prepares Nudge to ‘Move Tabs to the Side’ as Vertical Tabs Near Release
OnMSFT.com

The Tech News Site

Categories

  • Windows
  • Surface
  • Xbox
  • How-To
  • OnPodcast
  • Gaming
  • Edge
  • Teams

Recent Posts

  • Intel Laptop Price Increase Hits Panther Lake Models, Apple MacBook M5 Stays Stable
  • State of Decay 3 Playtests Confirmed With Mutated Zombies and Co-op
  • Starfield Launches on PS5 With Two Modes and Full DualSense Support
  • ASUS Accused of Failing to Fix Laptop After 10 RMAs, User Denied 11th Request
  • New Rowhammer Attacks Turn NVIDIA GPUs Into a System-Level Security Risk

Quick Links

  • About OnMSFT.com
  • Contact OnMSFT
  • Join Our Team
  • Privacy Policy
© 2010–2026 OnMSFT.com LLC. All rights reserved.
About OnMSFT.comContact OnMSFTPrivacy Policy