Windows 7 Building a Multi-Touch Enabled Point of Sales System.

32
Windows 7 Building a Multi-Touch Enabled Point of Sales System

Transcript of Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Page 1: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Windows 7

Building a Multi-Touch Enabled Point of Sales System

Page 2: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

The Changing Paradigm

• Hardware available!• Consumers accustomed

to mobile touchscreens• Windows 7• .NET 4

Page 3: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Themes

• Closest for the Touch style• Cosmopolitan– tinyurl.com/cosmotheme

• MetroToolkit–metrotoolkit.codeplex.com

Page 4: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Cosmopolitan Theme

Page 5: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Metro Theme

Page 6: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Styling

• Design for the finger, not the cursor• Larger is better• Lessons from the phone

Page 7: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

DEMO

Styling

Page 8: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Configuration

Page 9: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Accepting Input

Page 10: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Accepting Input

Page 11: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Accepting Input

Page 12: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Accepting Input

Page 13: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

DEMO

Input

Page 14: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Taking advantage of Multitouch

• APIs• Native Win32• WinForms• WPF

Page 15: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Predefined GesturesPanning

Place two fingers in the application window and drag in the direction you want

Page 16: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Predefined GesturesZoom

Touch the image with two fingers and move them closer or further apart

Page 17: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Predefined GesturesRotate

Touch the image with two fingers and turn fingers in a circle

Page 18: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Predefined GesturesTwo Finger Tap

Tap once with both fingers

Page 19: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Predefined GesturesFinger Roll

Place one finger on the screen, place second finger on the screen, lift the second finger, and then lift the first finger

Page 20: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Considerations

• Support for non-touch devices• Natural interaction• Established gestures

Page 21: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

DEMO

Implementing WPF Multitouch

Page 22: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Sensor and Location Platform

UMDF sensor driver

Sensor class extension

Sensor API

Gadget or script Application

Location and Other Sensors Control Panel

Sensordevice

Location APILocation IDispatch Interface

Application

UMDF sensor driver

Sensor class extension

Logical location sensor(Triangulation)

User

System

Page 23: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Where am I?

• Single call• Provider independent• Uses most accurate provider• Synchronous or asynchronous• Code, script, or automation• Default location

Page 24: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Default Location

Page 25: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Default Location

Control Panel

Page 26: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Location API Architecture

• Get Location Report– Synchronous

• Register for Notification– Asynchronous

• Query Status• Request Permissions

Page 27: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Location API Architecture

• ILatLongReport– Lat, Long, Altitude–Most Common– Precise

• ICivicAddressReport– Zip Code, Country Required– Human Readable– Rough Estimates

Page 28: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Location Wrapper

• Instantiate desired provider• Query status• GetReport()• Subscribe to

LocationChanged

Page 29: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

Location Wrapper

• Contains retrieved data• Cast to appropriate type• Use properties for

information

Page 30: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

DEMO

Implementing Location Services

Page 31: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

ResourcesSoftware Application

Developers

http://msdn.microsoft.com/

Infrastructure Professionals

http://technet.microsoft.com/

msdnindia technetindia @msdnindia @technetindia

Page 32: Windows 7 Building a Multi-Touch Enabled Point of Sales System.

© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and

Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.