Introduction
The Windows Store Application can run in any Windows 8 supported devices. Such as in Win8 desktops, Surface Tablets, touch sensitive devices etc.
In the desktop environment, to perform operations like button clicks etc we need to use the MOUSE as the input pointer device.
In tablet or touch sensitive devices to perform such operation we need to use the FINGER TOUCH as the input pointer. Also we can use PENs to perform the touch operation.
Let’s assume a scenario where we need to program on basis of the pointer device used in the application. Below is one of the example to detect the pointer device.
Description
In the below example we are trying to sense the pointer device.
Html file contect
<span class="spnTouch" id="spnDevice">Touch/Click Me</span>
<img id="imgDevice" alt="" />
Continue reading →