Presentation is loading. Please wait.

Presentation is loading. Please wait.

DEV389 Getting started with the Tablet PC SDK Name: Lester Madden Title: Developer Consultant.

Similar presentations


Presentation on theme: "DEV389 Getting started with the Tablet PC SDK Name: Lester Madden Title: Developer Consultant."— Presentation transcript:

1 DEV389 Getting started with the Tablet PC SDK Name: Lester Madden Title: Developer Consultant

2 Agenda Introducing the Tablet PC How do I write applications Design Guidelines

3 What is a Tablet PC? Full Function Mobile Business PC Runs Windows XP Tablet PC Edition (superset of Windows XP Pro) Runs all existing Windows applications Enables New PC Usage Scenarios Unprecedented PC mobility New Pen and Speech technologies A Powerful Platform Enables a new generation of business solutions E.g., MS Office, many third party ISV applications The Smartest.NET Client Most mobile PC, most powerful OS Includes full.NET framework

4 Hardware Requirements Limited to a Minimal Set EM Digitizer with active pen Support surprise removal from dock 5 second resume from Standby Legacy free (no serial or parallel ports) Supports both portrait and landscape modes Dedicated button for Ctl-Alt-Del (security)

5 Convertible Tablet PCs Integrated keyboard Clamshell design

6 Docking Station Allows classic Desktop PC use

7 Tablet PC Applications

8 Tablet PC and Windows Powered Smart Display Tablet PC Windows Powered Smart Display What is it? Business Mobile PC with additional Tablet functionality Cordless Smart Display, PC peripheral for the home Who Will Use it? Corporate Knowledge Workers Home Users and Families Where can it be used? Anywhere, from the desktop, to taking digital notes in meetings, to on an airplane In the Home, within range of wireless Windows XP PC or wireless access point

9 Environment Development Windows XP Tablet PC Edition Install on Tablet or Non-Tablet devices External Wacom digitizer can be used to simulate Tablet digitizer Mouse can also be used to collect Ink Deployment Windows XP Tablet PC Edition Windows.NET Server 2003 Windows 2000 + with Tablet modules Can be part of your setup

10 Platform Overview Tablet PC platform is exposed in several way Class Libraries COM Object Model Dual Interfaced.NET Interop Layer Thin layer over the COM Object Model Available in all.NET languages (C#, VB.NET, etc) Set of controls Available in C++,.NET and VB6

11 Ink is not a bitmap Serialize as Binary (ISF) XML Image RTF (Clipboard) Ink as Text Controls convert input Input saved at text by default Original Ink lost in translation Ink as Ink scales to the current Font Size - Great for Forms based scenarios Your application goal

12 Pen Characteristics Pen “tip” identified by cursors Same concept as mouse cursor Pen can have multiple cursors Some Tablets allow for multiple pen’s Pen may have buttons Tip and first button simulate mouse Supports up to 16 buttons Cursor may have rich properties Pressure, angle, etc. Eraser Stylus

13 Stroke Represents a single Ink Stroke Set of data captured in a single mouse down, move and mouse up sequence ExtendedProperties – allows application to store any data on the Stroke DrawingAttributes – controls the rendering of the Stroke Rich API Points, Bezier Points, BoundingBox, PacketData

14 Top level object for handling ink (CoCreatable) Attached to any HWND Handles input from all attached Tablets and Cursors Intercepts mouse movements and can draw Ink dynamically (default) Three Ink Collection modes Ink Only Gesture Only Ink and Gesture Events – Stroke, Gesture, SystemGesture, more… InkCollector

15 InkOverlay Superset of InkCollector Adds Select and Delete EditingModes Cursor is changed and maintained by the InkCollector Customizable by the application Deleting Strokes – two EraseModes StrokeErase – erase an entire stroke by passing the cursor anywhere over it PointErase – erase segments of a Stroke Selecting Strokes - lasso selection Highlights selected Strokes by outlining them

16 Collecting Ink

17 DrawingAttributes Controls the appearance of Ink Color, width, transparency, smoothing, anti-aliasing PenTip – round, rectangular, height, width Can be scaled automatically using Renderer.Scale Each collector has a DefaultDrawingAttributes property that specified the DrawingAttributes for all Cursors Can be applied to a single Stroke, to a Strokes collection, or to a Cursor

18 Drawing Attributes

19 What is a gesture? Anything you can do with a pen Similar to keyboard shortcuts – e.g. ”Ctrl C” System Gestures − Gestures supported by the Operating System by default To be notified subscribe to the ‘SystemGesture’ event 14 gestures, examples: Tap, Double-tap, Drag  Application Gestures − Gestures your application can choose to support − To be notified Subscribe to the ‘Gesture’ event Advise the platform of the specific gestures your app wants − 38 gestures, examples: Scratchout, Scroll up, Scroll down − Gestures have confidence levels Understanding Gestures

20 Gestures

21 Allows recognition of a collection of Strokes by a specific Recognizer from the Recognizers collection Synchronous recognition Call the ‘Recognize’ method Asynchronous recognition Call the ‘BackgroundRecognize’ method Subscribe to the ‘Recognition’ event - or - Call the BackgroundRecognizeWithAlternates’ method Subscribe to the ‘RecognitionWithAlternates’ event RecognizerContext

22 Recognition

23 Persistence

24 Controls InkEdit Super-class of Rich Edit control Win32,.NET, ActiveX versions Intended for text and ink-to-text scenarios Works well in forms scenarios InkPicture Similar to InkCollector Allows ink annotations on images in.jpg,.bmp,.png, or.gif format.NET, ActiveX version Great for Forms Great for easily adding Inking support into an existing app

25 Ink Controls

26 Design Guidelines

27 Tablet PC vrs PC Applications Mice stay where you park them Features requiring hover should have generous tolerances For instance, tooltips Bigger easily-targeted controls User hand placement (menus etc) InkEdit Control should be big enough to write in How will the user know the control is inkable Don’t mix edit and inkedit controls

28 Recognition Expectations Handwriting recognition is highly variable by person Errors are expected Perceived good or bad handwriting effects expectation of accuracy Guideline Be realistic about recognition accuracy rate, don’t rely heavily on it for authoring

29 Localization Languages − Tablet V1 US English, International English, Japanese, German, French, Simplified and Traditional Chinese, Korean Future – Spanish and Italian + others Extensibility architecture allows for custom recognizers to be built

30 Resources Building Tablet PC Applications - MS Press – ISBN 0-7356—1723-6 Code Resources - http://www.tabletpcdeveloper.com/ http://www.tabletpcdeveloper.com/ - http://msdn.microsoft.com/tabletpc - General Info - http://www.tabletpctalk.com http://www.tabletpctalk.com

31 Community Resources http://www.microsoft.com/communities/default.mspx Most Valuable Professional (MVP) http://www.mvp.support.microsoft.com/ Newsgroups Converse online with Microsoft Newsgroups, including Worldwide http://www.microsoft.com/communities/newsgroups/default.mspx User Groups Meet and learn with your peers http://www.microsoft.com/communities/usergroups/default.mspx

32 evaluations evaluations

33 © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.


Download ppt "DEV389 Getting started with the Tablet PC SDK Name: Lester Madden Title: Developer Consultant."

Similar presentations


Ads by Google