Windows 7 For Developers


Published on

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Windows 7 For Developers

  1. 1. win7 4 devs aditya mani, acuis 28 th june 2009 microsoft tech-ed on road
  2. 2. thank you
  3. 3. about me health software hospital industry multitouch kiosk on wpf acu is
  4. 4. win7 4 devs spirit of this presentation what’s new in win7? what’s in it for devs? where do we get the resources?
  5. 5. spirit of this presentation not only about technology conversational work in progress….
  6. 6. what’s new in win7 1 design principles of win7 2 taskbar 3 libraries 4 multi touch 5 sensor & location 6 ribbon ux
  7. 7. what’s new in win7 design principles of win7
  8. 8. what’s new in win7 <ul><li>design principles of win7 </li></ul><ul><ul><li>taskbar » reduce complexity </li></ul></ul>single tool to: launch, switch & manage apps + their tasks
  9. 9. what’s new in win7 <ul><li>design principles of win7 </li></ul><ul><ul><li>libraries » user centric </li></ul></ul><ul><li>next gen of my documents </li></ul><ul><li>stores a list of locations </li></ul><ul><li>can be leveraged by apps </li></ul>
  10. 10. what’s new in win7 <ul><li>design principles of win7 </li></ul><ul><ul><li>multi touch » life like </li></ul></ul>nui gestures manipulations inertia
  11. 11. what’s new in win7 <ul><li>design principles of win7 </li></ul><ul><ul><li>sensor & location » on the go </li></ul></ul>
  12. 12. what’s new in win7 <ul><li>design principles of win7 </li></ul><ul><ul><li>ribbon » not just technology </li></ul></ul>
  13. 13. what’s new in win7 <ul><li>design principles of win7 </li></ul><ul><ul><li>taskbar » reduce complexity </li></ul></ul><ul><ul><li>libraries » user centric </li></ul></ul><ul><ul><li>multi touch » life-like </li></ul></ul><ul><ul><li>sensor & location » on the go </li></ul></ul><ul><ul><li>ribbon » not only technology </li></ul></ul>
  14. 14. resources for: design principles
  15. 15. what’s in it for devs multi touch sensor & location ribbon
  16. 16. 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 a keyboard everytime) Touch is better for content consumption versus content creation!
  17. 17. multi touch & WPF
  18. 18. multi touch & WPF
  19. 19. multi touch & WPF Certain multi-gesture manipulations with inertia will be available in WPF 4
  20. 20. multi touch & WPF Good - Out of the box experience for legacy apps is available in Win7
  21. 21. 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
  22. 22. multi touch & gestures Good - Out of the box experience for legacy apps is available in Win7
  23. 23. 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
  24. 24. understanding wm_gesture
  25. 25. WM_Touch Similar to mouse position giving multiple (an array of) XY co-ords
  26. 26. 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!!
  27. 27. manipulations
  28. 28. Inertia & physics engines
  29. 29. resources for: multi touch
  30. 30. resources for: multi touch MS TouchPack for Win7 Developing Mult-touch apps Video on MultiTouch
  31. 31. resources for: multi touch MSDN on WM_GESTURE Message MSDN on Windows Touch SDK MSDN Windows Touch Programming Guide MSDN Gestures in Windows
  32. 32. sensor & location
  33. 33. sensor & location
  34. 34. 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
  35. 35. 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
  36. 36. resources for: sensor & location
  37. 37. ribbon native ribbon win32 com based managed code as well (vb, C# and XAML) markup style
  38. 38. resources for: sensor & location
  39. 39. win7 resources Win7 Training kit Win7 Dev Guide Win7 app Cookbook http:// =133393
  40. 40. win7 resources
  41. 41. win7 resources