DeviceSample Native Sample
Sample Overview
This sample demonstrates the use of the different
device API to get device serial number, warmboot,playsound
and get power status. It will not function properly when run on other devices,
including the Visual Studio emulators.
Prerequisites
The following
items are required to build and run this sample application.
- Visual Studio 2008 installed on
a development computer.
Topics
- ITCGetSerialNumber
- ITCWarmBoot
- ITCPowerStatus
- ITCIsAudioToneSupported
- ITCAudioPlayTone
Building the
Sample
To build this sample application:
- Double click on the Visual Studio solution file “DeviceSample.sln”
to open Visual Studio and load the sample solution.
- Select “build”.
Running the Sample
- Copy the DeviceSample.exe,itc50.dll
and ITCAdcDevMgmt.dll files to the device.
- Locate the sample program on
the device and tap the .exe file to start its execution.