Integrating devices, printers, and sensors (JavaScript)

Language: JavaScript and HTML | VB/C#/C++ and XAML
28 out of 35 rated this helpful - Rate this topic

You can integrate devices, printers, and sensors in your Windows Store app to create a rich experience for your users. This section shows you how to support a number of devices in your app, like cameras, sensors, and removable storage.

Here are some of the features that you can add to your app:

  • An enhanced print experience
  • The right motion and orientation sensor for your game
  • A light sensor that adjusts screen brightness
  • Detection of a user's geographic location

The following video gives you a brief overview of the sensors available to you when building Windows Store apps.

|

In this section

TopicDescription

Enabling and disabling device capabilities

Enable your app to use cameras, microphones, location sensors, text messaging, removable storage and near-field proximity.

Enumerating devices

Use the Windows.Devices.Enumeration and Windows.Devices.Enumeration.Pnp namespaces to enumerate devices.

Printing

Provide the same high-quality print experience in your Windows Store app that users have come to expect in other Windows applications.

Choosing the right sensors to use

Explore the many varieties of motion, orientation, and light sensor available to Windows Store apps.

Responding to motion and orientation sensors

Create Windows Store apps that use sensors to detect and respond to a variety of user movements.

Responding to light sensors

Create Windows Store apps that use sensors to detect and respond to changes in ambient light.

Detecting geolocation

Create Windows Store apps that detect the user's geographic location.

Accessing content on removable storage

Create Windows Store apps that access content on media and storage devices by using the Windows Portable Devices (WPD) driver technology.

 

Related topics

Roadmap for Windows Store apps using JavaScript

 

 

Build date: 3/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.