Windows 7 For Developers
-
Upload
rishu-mehra -
Category
Technology
-
view
106 -
download
2
description
Transcript of Windows 7 For Developers
![Page 1: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/1.jpg)
win7 4 devsaditya mani, acuis
28th june 2009
microsoft tech-ed on road
![Page 2: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/2.jpg)
thank you
![Page 3: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/3.jpg)
about me
health software
hospital industry
multitouch kiosk on wpf
acuis
![Page 4: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/4.jpg)
win7 4 devs
spirit of this presentation
what’s new in win7?
what’s in it for devs?
where do we get the resources?
![Page 5: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/5.jpg)
spirit of this presentation
not only about technology
conversational
work in progress….
![Page 6: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/6.jpg)
what’s new in win7
1 design principles of win7
2 taskbar
3 libraries
4 multi touch
5 sensor & location
6 ribbon
ux
![Page 7: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/7.jpg)
what’s new in win7
design principles of win7
![Page 8: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/8.jpg)
what’s new in win7
design principles of win7
taskbar » reduce complexity
single tool to: launch, switch & manage apps + their tasks
![Page 9: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/9.jpg)
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
![Page 10: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/10.jpg)
what’s new in win7
design principles of win7
multi touch » life like
nui
gestures
manipulations
inertia
![Page 11: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/11.jpg)
what’s new in win7
design principles of win7
sensor & location » on the go
![Page 12: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/12.jpg)
what’s new in win7
design principles of win7
ribbon » not just technology
![Page 13: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/13.jpg)
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
![Page 14: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/14.jpg)
resources for: design principles
http://channel9.msdn.com/pdc2008/PC22/
![Page 15: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/15.jpg)
what’s in it for devs
multi touch
sensor & location
ribbon
![Page 16: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/16.jpg)
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!
![Page 17: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/17.jpg)
multi touch & WPF
![Page 18: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/18.jpg)
multi touch & WPF
![Page 19: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/19.jpg)
multi touch & WPF
Certain multi-gesture manipulations with inertia will be available in WPF 4
![Page 20: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/20.jpg)
multi touch & WPF
Good - Out of the box experience for legacy apps is available in Win7
![Page 21: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/21.jpg)
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
![Page 22: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/22.jpg)
multi touch & gestures
Good - Out of the box experience for legacy apps is available in Win7
![Page 23: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/23.jpg)
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
![Page 24: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/24.jpg)
understanding wm_gesture
![Page 25: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/25.jpg)
WM_Touch
Similar to mouse position giving multiple (an array of) XY co-ords
![Page 26: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/26.jpg)
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!!
![Page 27: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/27.jpg)
manipulations
![Page 28: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/28.jpg)
Inertia & physics engines
![Page 29: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/29.jpg)
resources for:multi touch
http://channel9.msdn.com/pdc2008/PC03/
![Page 30: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/30.jpg)
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/
![Page 31: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/31.jpg)
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
![Page 32: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/32.jpg)
sensor & location
![Page 33: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/33.jpg)
sensor & location
![Page 34: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/34.jpg)
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
![Page 35: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/35.jpg)
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
![Page 36: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/36.jpg)
resources for: sensor & location
http://channel9.msdn.com/pdc2008/PC25/
![Page 37: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/37.jpg)
ribbon
native ribbon
win32 com based
managed code as well
(vb, C# and XAML)
markup style
![Page 38: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/38.jpg)
resources for: sensor & location
http://channel9.msdn.com/pdc2008/PC14/
![Page 39: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/39.jpg)
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
![Page 40: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/40.jpg)
win7 resources
![Page 41: Windows 7 For Developers](https://reader035.fdocuments.us/reader035/viewer/2022062617/54c83fb44a7959925f8b45cf/html5/thumbnails/41.jpg)
win7 resources