default wangpslookup default wangpslookup

40
Fejlesztés Windows 7-re Bátyai Krisztián MCT, MCPD 3.5 http://kbatyai.spaces.live.com [email protected]

Upload: vivian-crown

Post on 11-Dec-2015

272 views

Category:

Documents


39 download

TRANSCRIPT

Page 1: Default WANGPSLookup Default WANGPSLookup

Fejlesztés Windows 7-re

Bátyai Krisztián

MCT, MCPD 3.5 http://kbatyai.spaces.live.com [email protected]

Page 2: Default WANGPSLookup Default WANGPSLookup

Célok

− A Windows 7 újdonságok könnyen használhatók a .Net 4.0 keretrendszerből, mellyel értékesebb alkalmazásokat készíthetünk

− Demo Demo Demo

Page 3: Default WANGPSLookup Default WANGPSLookup

Témakörök

1. Windows 7 API2. Sensor and Location Platform APIs 3. Windows 7 Taskbar

Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars

4. Windows Shell Windows 7 Libraries , Windows Shell Search API support , Explorer Browser Control , A hierarchy of Shell Namespace entities , Windows Shell property system, Drag and Drop for Shell Objects , Windows Vista and Windows 7 Common File Dialogs, including custom controls , Known Folders and non-file system containers

5. Multitouch

Page 4: Default WANGPSLookup Default WANGPSLookup

Windows 7 API Code Pack

− Managed API az unmanaged réteg fölé− 5 db Visual Studio Project

− Core− DirectX− ExtendedLinguisticServices− Sensors− Shell

Page 5: Default WANGPSLookup Default WANGPSLookup

Windows 7 API vs .Net 4.0

Windows 7 API Code Pack−All in One−Managed API az

unmanaged réteg fölé

.Net 4.0/WPF− Bizonyos dolgok

közvetlenül a .Net 4.0 részeként elérhetőpl:− System.Device−

<Window.TaskbarItemInfo> <TaskbarItemInfo /> </Window.TaskbarItemInfo>

Page 6: Default WANGPSLookup Default WANGPSLookup

Témakörök

1. Windows 7 API2. Sensor and Location Platform APIs 3. Windows 7 Taskbar

Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars

4. Windows Shell Windows 7 Libraries , Windows Shell Search API support , Explorer Browser Control , A hierarchy of Shell Namespace entities , Windows Shell property system, Drag and Drop for Shell Objects , Windows Vista and Windows 7 Common File Dialogs, including custom controls , Known Folders and non-file system containers

5. Multitouch

Page 7: Default WANGPSLookup Default WANGPSLookup

Sensor and Location Platform APIs

− Helyérzékeny alkalmazások készítése generikus módon

Page 8: Default WANGPSLookup Default WANGPSLookup

Windows 7 Sensor PlatformC++ Sensor App

Sensor API

C++ Sensor App

Sensor Devices

Windows 7Sensor andLocation Platform

Applications

Sensor MCU

Sensor Driver

Sensor Class Extension

Sensor MCU

Sensor Driver

Accelerometer Ambient Light Sensor

Page 9: Default WANGPSLookup Default WANGPSLookup

Windows 7 Location Platform

Default WANGPS Lookup

Location GadgetC++ Location

App

LocationSensors

Windows 7Sensor andLocation Platform

Applications

Win32 COM IDispatch

Location API

Sensor API

Page 10: Default WANGPSLookup Default WANGPSLookup

.NET 4 Location API

Default WANGPS Lookup

.NET Location APP

Windows 7 Location API

.NET Location APP

LocationSensors

Windows 7Location API

.NET Applications

.NET 4 Location API.NET Framework

Sensor API

Page 11: Default WANGPSLookup Default WANGPSLookup

System.Device.dll− .NET 4 + Visual Studio 2010− Root namespace: System.Device

− GeoLocationProvider− Properties

− GeoLocation Location− GeoLocationStatus Status− Double MovementThreshold

− Methods− GeoLocationProvider() +1 overload− Start()− Stop()

− Events− LocationChanged− StatusChanged

Page 12: Default WANGPSLookup Default WANGPSLookup

GeoLocation vs. GeoCoordinateGeoLocation

−Double Heading−Double Speed−GeoCoordinate

Coordinate−CivicAddress Address−DateTimeOffset

Timestamp

GeoCoordinate

− Double Latitude− Double Longitude− Double

HorizontalAccuracy− Double VerticalAccuracy− Double Altitude

Page 13: Default WANGPSLookup Default WANGPSLookup

Demó

− Helyérzékeny szolgáltatás készítése

Page 14: Default WANGPSLookup Default WANGPSLookup

Témakörök

1. Windows 7 API2. Sensor and Location Platform APIs 3. Windows 7 Taskbar

Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars

4. Windows Shell Windows 7 Libraries , Windows Shell Search API support , Explorer Browser Control , A hierarchy of Shell Namespace entities , Windows Shell property system, Drag and Drop for Shell Objects , Windows Vista and Windows 7 Common File Dialogs, including custom controls , Known Folders and non-file system containers

5. Multitouch

Page 15: Default WANGPSLookup Default WANGPSLookup

Egy kis történelem...

Page 16: Default WANGPSLookup Default WANGPSLookup
Page 17: Default WANGPSLookup Default WANGPSLookup
Page 18: Default WANGPSLookup Default WANGPSLookup
Page 19: Default WANGPSLookup Default WANGPSLookup
Page 20: Default WANGPSLookup Default WANGPSLookup

Windows 7 Taskbar újdonságai− Jump List− Thumbnail Toolbars− Taskbar Overlay Icons− Taskbar Progress− Live Thumbnails

Page 21: Default WANGPSLookup Default WANGPSLookup

Jump Lists

Kategóriák

Műveletek

„szokásos” kategóriákSaját kategóriák

Felhasználói műveletekTaskbar műveletek

„horgonyzott”kategóriák

Page 22: Default WANGPSLookup Default WANGPSLookup

Thumbnail Toolbars

Page 23: Default WANGPSLookup Default WANGPSLookup

Taskbar Overlay Icons and Progress

Page 24: Default WANGPSLookup Default WANGPSLookup

Live Thumbnails

Page 25: Default WANGPSLookup Default WANGPSLookup

Demó

− Jump List− Thumbnail Toolbars− Taskbar Overlay Icons− Taskbar Progress− (Live Thumbnails)

Page 26: Default WANGPSLookup Default WANGPSLookup

Témakörök

1. Windows 7 API2. Sensor and Location Platform APIs 3. Windows 7 Taskbar

Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars

4. Windows Shell Windows 7 Libraries , Windows Shell Search API support , Explorer Browser Control , A hierarchy of Shell Namespace entities , Windows Shell property system, Drag and Drop for Shell Objects , Windows Vista and Windows 7 Common File Dialogs, including custom controls , Known Folders and non-file system containers

5. Multitouch

Page 27: Default WANGPSLookup Default WANGPSLookup

Windows shell

− Federated Search− Libraries− Common File Dialogs− Extensibility

− Search providers− Preview handlers− Explorer extensions− Desktop gadgets− Taskbar desk-bands− Control Panel applets

Page 28: Default WANGPSLookup Default WANGPSLookup

Az új Windows Explorer

Meta-adatok

Navigáció

Előnézet

Instant keresőElrendezés nézetek

Federated search

Könyvtárak

Page 29: Default WANGPSLookup Default WANGPSLookup

Federated Search

Document repository

Enterprise data store

Enterprise application

Page 30: Default WANGPSLookup Default WANGPSLookup

Demó

− Federated search szolgáltatás készítése− AdventureWorks telefonkönyv intraneten− AdventureWorks termék-kereső

Page 31: Default WANGPSLookup Default WANGPSLookup

Témakörök

1. Windows 7 API2. Sensor and Location Platform APIs 3. Windows 7 Taskbar

Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars

4. Windows Shell Windows 7 Libraries , Windows Shell Search API support , Explorer Browser Control , A hierarchy of Shell Namespace entities , Windows Shell property system, Drag and Drop for Shell Objects , Windows Vista and Windows 7 Common File Dialogs, including custom controls , Known Folders and non-file system containers

5. Multitouch

Page 32: Default WANGPSLookup Default WANGPSLookup

Multitouch

„Robbanás előtt áll az érintőképernyős mobiltelefonok piaca Magyarországon, a mobilozók közel 40 százaléka saját bevallása szerint érintőkijelzős telefont választ majd a következő készülékének, ha teheti - derült ki az Ipsos közvéleménykutató online felméréséből”

Az **** bejelentette, hogy a világon elsőként hoz forgalomba multi-touch kijelzővel rendelkező netbookot.(2009-12)

Page 33: Default WANGPSLookup Default WANGPSLookup

Architektúra + Hol tartunk most?

WPF Controls Styles with Panning Enabled

ScrollViewer Panning Support

Manipulation Events

Touch Events

Extensible Touch Device

Win7 Touch Device

Surface Touch Device

Beta 1

Beta 2

Release Candidat

e

Surface V2

Page 34: Default WANGPSLookup Default WANGPSLookup

MoultiTouch in WPF 4.0

− Raw touch− public static readonly RoutedEvent TouchDownEvent; − public static readonly RoutedEvent TouchEnterEvent; − public static readonly RoutedEvent TouchLeaveEvent; − public static readonly RoutedEvent TouchMoveEvent; − public static readonly RoutedEvent TouchUpEvent;

− Manipulation− public event EventHandler<ManipulationStartingEventArgs> ManipulationStarting;− public event EventHandler<ManipulationDeltaEventArgs> ManipulationDelta;− public event EventHandler<ManipulationCompletedEventArgs>

ManipulationCompleted;

− Inertia− public event EventHandler<ManipulationInertiaStartingEventArgs>

ManipulationInertiaStarting;

Page 35: Default WANGPSLookup Default WANGPSLookup

Demó

− Multitouch képes alkalmazás készítése

Page 36: Default WANGPSLookup Default WANGPSLookup

Útravaló

− A képességek felügyelt kódból elérhetők

− ÉRTÉKESEBB lesz tőle az alkalmazásunk

− Bing : Windows 7 Api Code Pack

− (http://code.msdn.microsoft.com/WindowsAPICodePack)

Page 37: Default WANGPSLookup Default WANGPSLookup

Amiről nem esett szó...

− Extended Linguistic Services APIs − Power Management APIs − Application Restart and Recovery APIs − Network List Manager APIs − Command Link control and System defined Shell

icons− DirectX

− Direct3D 11.0, Direct3D 10.1/10.0, DXGI 1.0/1.1, Direct2D 1.0, DirectWrite, Windows Imaging Component (WIC) APIs

− Shell++− Multitouch++− ....− ....

Page 38: Default WANGPSLookup Default WANGPSLookup

További információ− http://www.devportal.hu− Windows Developer Center (MSDN)

− http://msdn.microsoft.com/en-us/windows/default.aspx

− Windows 7 Training Kit− Channel 9 - http://channel9.msdn.com/learn/windows

− Windows 7 Developers Blog− http://windowsteamblog.com/blogs/developers/default.aspx

− Windows 7 on Channel 9 − http://channel9.msdn.com/windows

− Federated Search Implemetation Guide

Page 39: Default WANGPSLookup Default WANGPSLookup

Kérdések???

Page 40: Default WANGPSLookup Default WANGPSLookup

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.