Windows 7 For Developers

Post on 28-Jan-2015

106 views 2 download

Tags:

description

 

transcript

win7 4 devsaditya mani, acuis

28th june 2009

microsoft tech-ed on road

thank you

about me

health software

hospital industry

multitouch kiosk on wpf

acuis

win7 4 devs

spirit of this presentation

what’s new in win7?

what’s in it for devs?

where do we get the resources?

spirit of this presentation

not only about technology

conversational

work in progress….

what’s new in win7

1 design principles of win7

2 taskbar

3 libraries

4 multi touch

5 sensor & location

6 ribbon

ux

what’s new in win7

design principles of win7

what’s new in win7

design principles of win7

taskbar » reduce complexity

single tool to: launch, switch & manage apps + their tasks

what’s new in win7

design principles of win7

libraries » user centric

-next gen of my documents

-stores a list of locations

-can be leveraged by apps

what’s new in win7

design principles of win7

multi touch » life like

nui

gestures

manipulations

inertia

what’s new in win7

design principles of win7

sensor & location » on the go

what’s new in win7

design principles of win7

ribbon » not just technology

what’s new in win7

design principles of win7

taskbar » reduce complexity

libraries » user centric

multi touch » life-like

sensor & location » on the go

ribbon » not only technology

resources for: design principles

http://channel9.msdn.com/pdc2008/PC22/

what’s in it for devs

multi touch

sensor & location

ribbon

multi touch

Scenarios good for touch: maps & pics

Touch & gestures that make up the NUI

Will be present in small form factors (phones) to large ff (surface units)

Touch scenarios – factory floors to phones (can’t pull out akeyboard everytime)

Touch is better for content consumption versus content creation!

multi touch & WPF

multi touch & WPF

multi touch & WPF

Certain multi-gesture manipulations with inertia will be available in WPF 4

multi touch & WPF

Good - Out of the box experience for legacy apps is available in Win7

multi touch & gestures

Gestures: 1 or 2 fingers inputs that translate into action

OS does listening for gestures

You can program the app to listen for WM_GESTURE messages or notifications

multi touch & gestures

Good - Out of the box experience for legacy apps is available in Win7

some gestures keywords

GetGesture

SetGestureConfig api can be set to turn on or turn off gestures

You can slow down, add inertia etc

WM_GestureNotify

GetGestureInfo

Usually gesture messages should be limited to 30 gestures per second

GID_Rotate

understanding wm_gesture

WM_Touch

Similar to mouse position giving multiple (an array of) XY co-ords

manipulations

Manipulations are the superset to gestures.

Manipulations allow you to simultaneously do multiple gesture paired up with inertia and other physics engine transforms.

So, you can rotate, move and zoom in concurrently.

Needs raw data and depends on how much the hardware can support. The most complex form of Multi-touch!!

manipulations

Inertia & physics engines

resources for:multi touch

http://channel9.msdn.com/pdc2008/PC03/

resources for:multi touch

MS TouchPack for Win7http://windowsteamblog.com/blogs/windows7/archive/2009/05/27/introducing-the-microsoft-touch-pack-for-windows-7.aspx

Developing Mult-touch appshttp://channel9.msdn.com/pdc2008/PC03/

Video on MultiTouchhttp://channel9.msdn.com/posts/yochay/Windows-7-Mutli-Touch-Overview/

resources for:multi touch

MSDN on WM_GESTURE Messagehttp://msdn.microsoft.com/en-us/library/dd353242(VS.85).aspx

MSDN on Windows Touch SDKhttp://msdn.microsoft.com/en-us/library/dd371406(VS.85).aspx

MSDN Windows Touch Programming Guidehttp://msdn.microsoft.com/en-us/library/dd317323(VS.85).aspx

MSDN Gestures in Windowshttp://msdn.microsoft.com/en-us/library/dd371585(VS.85).aspx

sensor & location

sensor & location

sensor & location

native sensor sdk with win7

can be connected to sensing devices like gps, temp sensor, light sensor, accelerometers etc

os level resource: multiple applications can use the output of the sensor simultaneously without having resource constraints

sensor & location

iSensorManager: com interface that manages all the sensors in the system

GetSensorByID used to query a sensor by ID

GetSensorByCategory used to query a sensor if environmental sensor, physics sensor

Onsensor: event tells you new sensor

Isensor you can get data about sensor

resources for: sensor & location

http://channel9.msdn.com/pdc2008/PC25/

ribbon

native ribbon

win32 com based

managed code as well

(vb, C# and XAML)

markup style

resources for: sensor & location

http://channel9.msdn.com/pdc2008/PC14/

win7 resources

Win7 Training kithttp://www.microsoft.com/downloads/details.aspx?FamilyID=12100526-ed26-476b-8e20-69662b8546c1&displaylang=en

Win7 Dev Guidehttp://msdn.microsoft.com/en-us/library/dd371748(VS.85).aspx

Win7 app Cookbookhttp://go.microsoft.com/fwlink/?LinkId=133393

win7 resources

win7 resources