Sie sind auf Seite 1von 22

A Tutorial on Tablet PC

Simon Fraser University CMPT 354 Fall 2007

Agenda
Tablet PC Overview Tablet PC Development Tablet PC Resources

A Tutorial on Tablet PC

2/22

Tablet PC Overview

What is Tablet PC?


A fully-functional computer running Microsoft Windows XP Tablet PC Edition, a superset of Windows XP Professional A highly mobile computer that enables new usage scenarios A powerful platform enabling a new generation of business applications
Geared for pen-enabled, handwriting-enabled, and speechenabled applications

Windows XP SP2

Tablet PC
Tablet PC Components 2005
4/22

Windows XP Professional

Service Pack 2

A Tutorial on Tablet PC

Features Overview - Software


Windows XP Tablet PC Edition 2005 adds the following features to Windows XP Professional
Pen input Ink controls Gesture recognition engine and APIs Handwriting and speech recognition engines Some useful applications, such as Windows Journal, Sticky Notes
A Tutorial on Tablet PC
5/22

Features Overview - Hardware


All Tablet PC devices will include the following hardware attributes
Electromagnetic digitizer and pen Optimized power states Screen rotation support Free of old hardware Hardware buttons for logging on to Windows and doing additional tasks Support for surprise undocking
A Tutorial on Tablet PC
6/22

Why We Need a Tablet PC?


Mobility (sitting, standing, walking...) Ink now, recognize later Cant type for beans or in cramped spaces Drawing / sketching Take notes electronically Microsoft Windows XP Tablet PC Home Page
Top 10 benefits
http://www.microsoft.com/windowsxp/tabletpc/evaluation/topten benefits.mspx

Case studies
http://www.microsoft.com/windowsxp/tabletpc/evaluation/casest udies/default.mspx
A Tutorial on Tablet PC
7/22

How to Use a Tablet PC?

Tablet PC Development

Development Environment
Hardware
A Tablet PC Or any other computer, having Microsoft Windows 2000 SP4 or higher (but handwriting and speech recognition cannot be tested and debugged) Tablet PC SDK 1.7 (the latest version) Microsoft Visual Studio
Version 6 SP5, .Net 2003, .Net 2005 Programming languages can be Visual C# (recommended), C++, VB6, VB.Net

Software

Microsoft SQL Server 2005 (for the course project)


A Tutorial on Tablet PC
10/22

Tablet PC SDK 1.7


It comes with
Context Tagging Tool Microsoft Tablet PC Platform SDK Documentation Samples and Source Code

Suggestion
Before jumping into the implementation, please read the above three documentations carefully Most of the coding problems can find solutions from them
A Tutorial on Tablet PC
11/22

Tablet PC Platform Overview


Ink Collection (Input) Ink Data and Management Ink Recognition

A Tutorial on Tablet PC

12/22

Ink Collection (Input)


Digitizer Basics
Very High Resolution Very High Throughput Packet Properties
X, Y Pressure, Angle, Rotation, etc.

Using the API to collect Ink


InkCollector InkOverlay RealTimeStylus (New in SDK version 1.7)
A Tutorial on Tablet PC
13/22

Ink Data And Management


Ink is a data type Ink looks good
Bezier smoothed Anti-aliased

Rich, Extensible API Copy to / paste from the clipboard Multiple persistence formats

A Tutorial on Tablet PC

14/22

Ink Recognition
Interpret pen movements and/or strokes as:
Text (handwriting) Gestures Shapes and symbols Limited object recognition in API
US English, International English, Japanese, German, French, Simplified and Traditional Chinese as well as Korean, Spanish and Italian More Asian Languages

Current language support

Additional language support with Lonestar

Synchronous and asynchronous recognition Data structure of recognize result and alternates Extensibility architecture
A Tutorial on Tablet PC
15/22

Object Model Overview


InkCollector InkOverlay Ink Strokes Stroke Renderer DrawingAttributes Tablet Recognizers Recognizer RecognizerContext

A Tutorial on Tablet PC

16/22

Key Objects
Ink Collection
InkCollector InkOverlay Ink collection events

Ink Data Management


Ink Strokes Stroke DrawingAttributes Renderer Ink data management events RecognizerContext RecognitionResult
A Tutorial on Tablet PC
17/22

Ink Recognition

Referencing the SDK


The 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.
A Tutorial on Tablet PC
18/22

How to Develop for a Tablet PC?

Tablet PC Resources

Resources
Within Tablet PC SDK 1.7 MSDN Tablet PC Developer Center MSDN Library
Microsoft Tablet PC Platform SDK Documentation Samples and Source Code http://msdn.microsoft.com/mobility/tabletpc/default.aspx http://msdn2.microsoft.com/en-us/library/ms950406.aspx http://www.microsoft.com/windowsxp/tabletpc/default.mspx http://blogs.technet.com/tabletpc/

Windows Tablet PC Home Page Tablet PC Team Blog

Books in the library Google the World Wide Web

A Tutorial on Tablet PC

21/22

Thank You!

Das könnte Ihnen auch gefallen