New Windows* 8 Code Samples on Intel Developer Zone

The following code samples will help developers get started writing both Windows Store apps (9 samples) and Windows 8 Desktop (1 sample).  The Windows Store app samples are JavaScript/HTML  and the Windows 8 Desktop sample is written in C++.  

The samples can be downloaded from the links provided below.  The full set of samples can also be found on the Intel Developer Zone.  There will be updates as new samples become available.

Touch for Windows Store apps

This sample application shows how to create a Windows* Store app that makes a simple video conference call on the device. It uses the Windows* 8 Capture and Media Streaming API and is written in JavaScript*. This application has two windows: a preview window and a conference window. The preview window shows the output directly from the camera. The conference window shows the streamed video from the other device.

Touch for Desktop

This sample application shows how to implement support for touch input in a desktop application. It uses the Windows* 7 touch APIs and was built in Visual Studio* 10. Due to the backwards compatibility of the desktop environment in Windows* 8, the touch features of this app will still function correctly when an executable is run on a Windows* 8 desktop. The application is written in C++ and draws a basic rectangle on the display. It shows how to handle various touch gestures and how to process their data and modify the rectangle with this data. This basic application should be helpful to developers who are looking for an example of how to effectively use the Windows* 7 C++ touch APIs to handle touch events in a desktop application that can run on Windows* 8.

 

Windows* 8 Sensors (All in One)

This sample application shows how to create a Windows* 8 Store app that will display the data outputs of the various sensors on the platform. It uses the Windows Runtime sensor APIs to register callback functions that report sensor input to the application. The application is written in JavaScript* and it displays the textual output of the data reported by the accelerometer, compass, gyroscope, light, inclinometer, orientation, and Geo-location sensor APIs. This basic application should be helpful to developers who are looking for an example of how to effectively use the Windows* Runtime APIs to register for sensor event notifications in their Windows* Store app.

Camera API

This sample application shows how to use Windows* 8 Capture API in a Windows Store app. The application sets up a preview stream and allows a user to adjust different properties of the camera (Brightness, Contrast, Hue, and Focus). It can also take a photo snapshot with user-specified camera settings.

Data Encryption

This sample application shows how to use Windows* 8 Capture API in a Windows* Store app. The application sets up a preview stream and then adjusts different properties of the camera (Brightness, Contrast, Hue, and Focus). It can also take a photo snapshot with user-specified camera settings.

Video Gallery

This sample application shows how to use the HTML5 video Video Tag in a Windows* Store app. The application is written in JavaScript* and it shows a gallery view from video files in the user’s video library. The application plays all video files simultaneously when it starts. The user can also select a video file to play individually.

Video Transcoder

This sample application shows how to use the JavaScript* Media Transcoding API in a Windows* Store app. The application asks users to select one source video file and their choice of codec (H264, MPEG-4, or VC1) and resolution (480p, 720p, or 1080p). It then transcodes the file into one or more target video files with the user-specified codec and resolution.

Video Chat

This sample application shows how to use the HTML5 video Video Tag in a Windows* Store app. The application is written in JavaScript* and it shows a gallery view from video files in the user’s video library. The application plays all video files simultaneously when it starts. The user can also select a video file to play individually.

Video Player

This sample application shows how to use the HTML5 video Video Tag in a Windows* Store app. The application is written in JavaScript* and it shows a gallery view from video files in the user’s video library. The application plays all video files simultaneously when it starts. The user can also select a video file to play individually.

Near Field Communication (NFC)

This sample application shows how to use the Windows* 8 Proximity API for NFC (Near Field Communication). The Application is written in JavaScript*. The application first advertises the device via NFC and then finds the peer device to connect. After the device connects to the peer device, then it can send a message to the peer device.

Per informazioni più dettagliate sulle ottimizzazioni basate su compilatore, vedere il nostro Avviso sull'ottimizzazione.