Integrating devices, printers, and sensors (JavaScript)

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

Integrating devices, printers, and sensors (JavaScript)

[This documentation is preliminary and is subject to change.]

You can integrate devices, printers, and sensors in your Metro style 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

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 Metro style 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 Metro style apps.

Responding to motion and orientation sensors

Create Metro style apps that use sensors to detect and respond to a variety of user movements.

Responding to light sensors

Create Metro style apps that use sensors to detect and respond to changes in ambient light.

Detecting geolocation

Create Metro style apps that detect the user's geographic location.

Accessing content on removable storage

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

 

Related topics

Roadmap for Metro style apps using JavaScript

 

 

Build date: 5/23/2012

Did you find this helpful?
(1500 characters remaining)