共用方式為


Device and sensor overviews

[ This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation ]

Learn about device-related concepts for Windows Runtime apps.

In this section

Topic Description

Access sensors and devices from a background task

Learn how to access sensors and peripheral devices in the background, even when your foreground app is suspended.

Motion and device orientation

This section provides info about developing an app that uses input from motion sensors. These sensors can include accelerometers, inclinometers, compasses and gyrometers.

Device protocol APIs

Learn how your Windows Store app can communicate with USB, Human Interface Devices (HID), Bluetooth GATT, and Bluetooth RFCOMM peripheral devices. This section covers topics that are common to all device protocol APIs.

Application Specific Hardware Identifier

Learn how an app with a cloud component may use the ASHWID in conjunction with its back-end service to implement per-device logic.

Windows Store device app

If you are a device manufacturer, you can create a Windows Store app that serves as a companion to your device. Windows Store device apps can automatically install the first time people plug in your device, and they can have more capabilities than regular Windows Store apps.