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

Latest iPhone Fold rumors reveal display crease details, hole-punch cameras, iOS multitasking layout, 12GB RAM, and storage options for Apple’s first foldable iPhone.

iPhone Fold Latest Rumors: Display, Cameras, RAM and Price Details Revealed

March 13, 2026
Samsung concerned about smartphone profits as chip prices surge

Samsung fears first mobile operating loss due to memory price surge

March 13, 2026

Elon Musk’s X to Change Verification in Europe Following EU Fine

March 13, 2026

Leave a Comment Cancel reply

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

Recent Posts

  • iPhone Fold Latest Rumors: Display, Cameras, RAM and Price Details Revealed
  • Samsung fears first mobile operating loss due to memory price surge
  • Elon Musk’s X to Change Verification in Europe Following EU Fine
  • Facebook Marketplace adds Meta AI to reply to buyer messages automatically
  • Instagram Tests Clickable Links in Captions for Meta Verified Users

Recent Comments

No comments to show.
OnMSFT.com

OnMSFT.com covers Microsoft news, reviews, and how-to guides. Formerly known as WinBeta, we have been your source for Microsoft news since 1998.

Categories

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

Recent Posts

  • iPhone Fold Latest Rumors: Display, Cameras, RAM and Price Details Revealed
  • Samsung fears first mobile operating loss due to memory price surge
  • Elon Musk’s X to Change Verification in Europe Following EU Fine
  • Facebook Marketplace adds Meta AI to reply to buyer messages automatically
  • Instagram Tests Clickable Links in Captions for Meta Verified Users

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