a tutorial on tablet pc - simon fraser university · xp tablet pc edition, a superset of windows xp...
TRANSCRIPT
A Tutorial on Tablet PC
Simon Fraser UniversityCMPT 354Fall 2007
A Tutorial on Tablet PC 2/22
AgendaTablet PC Overview
Tablet PC Development
Tablet PC Resources
Tablet PC Overview
A Tutorial on Tablet PC 4/22
What is Tablet PC?A fully-functional computer running Microsoft Windows XP Tablet PC Edition, a superset of Windows XP Professional
Geared for pen-enabled, handwriting-enabled, and speech- enabled applications
A highly mobile computer that enables new usage scenariosA powerful platform enabling a new generation of business applications
Windows XPSP2 Tablet
PC
Windows XP Professional Service Pack 2 Tablet PC Components 2005
A Tutorial on Tablet PC 5/22
Features Overview -
SoftwareWindows XP Tablet PC Edition 2005 adds the following features to Windows XP Professional
Pen inputInk controlsGesture recognition engine and APIsHandwriting and speech recognition enginesSome useful applications, such as Windows Journal, Sticky Notes…
A Tutorial on Tablet PC 6/22
Features Overview -
HardwareAll Tablet PC devices will include the following hardware attributes
Electromagnetic digitizer and penOptimized power statesScreen rotation supportFree of old hardwareHardware buttons for logging on to Windows and doing additional tasksSupport for surprise undocking…
A Tutorial on Tablet PC 7/22
Why We Need a Tablet PC?Mobility (sitting, standing, walking...)Ink now, recognize laterCan’t type for beans or in cramped spacesDrawing / sketchingTake notes electronicallyMicrosoft Windows XP Tablet PC Home Page
Top 10 benefitshttp://www.microsoft.com/windowsxp/tabletpc/evaluation/topten benefits.mspx
Case studieshttp://www.microsoft.com/windowsxp/tabletpc/evaluation/casest udies/default.mspx
How to Use a Tablet PC?
Tablet PC Development
A Tutorial on Tablet PC 10/22
Development EnvironmentHardware
A Tablet PCOr any other computer, having Microsoft Windows 2000 SP4 or higher (but handwriting and speech recognition cannot be tested and debugged)
SoftwareTablet PC SDK 1.7 (the latest version)Microsoft Visual Studio
Version 6 SP5, .Net 2003, .Net 2005Programming languages can be Visual C# (recommended), C++, VB6, VB.Net
Microsoft SQL Server 2005 (for the course project)
A Tutorial on Tablet PC 11/22
Tablet PC SDK 1.7It comes with
Context Tagging ToolMicrosoft Tablet PC Platform SDK DocumentationSamples and Source Code
SuggestionBefore jumping into the implementation, please read the above three documentations carefullyMost of the coding problems can find solutions from them
A Tutorial on Tablet PC 12/22
Tablet PC Platform OverviewInk Collection (Input)
Ink Data and Management
Ink Recognition
A Tutorial on Tablet PC 13/22
Ink Collection (Input)Digitizer Basics
Very High ResolutionVery High ThroughputPacket Properties
X, YPressure, Angle, Rotation, etc.
Using the API to collect InkInkCollectorInkOverlayRealTimeStylus (New in SDK version 1.7)
A Tutorial on Tablet PC 14/22
Ink Data And ManagementInk is a data typeInk looks good
Bezier smoothedAnti-aliased
Rich, Extensible API Copy to / paste from the clipboardMultiple persistence formats
A Tutorial on Tablet PC 15/22
Ink RecognitionInterpret pen movements and/or strokes as:
Text (handwriting)GesturesShapes and symbols – Limited object recognition in API
Current language supportUS English, International English, Japanese, German, French, Simplified and Traditional Chinese as well as Korean, Spanish and Italian
Additional language support with LonestarMore Asian Languages
Synchronous and asynchronous recognitionData structure of recognize result and alternatesExtensibility architecture
A Tutorial on Tablet PC 16/22
Object Model OverviewInkCollector InkOverlay
Ink
Strokes
Renderer
Tablet
Stroke
Recognizers
Recognizer
DrawingAttributes
RecognizerContext
A Tutorial on Tablet PC 17/22
Key ObjectsInk Collection
InkCollectorInkOverlayInk collection events
Ink Data ManagementInkStrokesStrokeDrawingAttributesRendererInk data management events
Ink RecognitionRecognizerContextRecognitionResult
A Tutorial on Tablet PC 18/22
Referencing the SDKThe Tablet PC SDK has to be referenced from Microsoft Visual Studio
This provides access to the managed object model and controls
To add a reference to the Windows XP Tablet PC Edition Development Kit 1.7 in Visual Studio .NET
Open your Visual Studio .NET project.On the Project menu, click Add Reference.On the .NET tab in the Add Reference dialog box, on the components list, select Microsoft Tablet PC API, version 1.7.xxxx.x.Click Select, and then click OK.
How to Develop for a Tablet PC?
Tablet PC Resources
A Tutorial on Tablet PC 21/22
ResourcesWithin Tablet PC SDK 1.7
Microsoft Tablet PC Platform SDK DocumentationSamples and Source Code
MSDN Tablet PC Developer Centerhttp://msdn.microsoft.com/mobility/tabletpc/default.aspx
MSDN Libraryhttp://msdn2.microsoft.com/en-us/library/ms950406.aspx
Windows Tablet PC Home Pagehttp://www.microsoft.com/windowsxp/tabletpc/default.mspx
Tablet PC Team Bloghttp://blogs.technet.com/tabletpc/
Books in the libraryGoogle the World Wide Web
Thank You!