developing applications with visual studio 2005 (part 2) marcus perryman...
TRANSCRIPT
![Page 1: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/1.jpg)
Developing Applications with Visual Studio 2005 (part 2)
Marcus [email protected]://blogs.msdn.com/marcpe
![Page 2: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/2.jpg)
Agenda
Windows Mobile 5.0 design goals
Native only features
Managed code features
![Page 3: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/3.jpg)
May 2005:Windows Mobile 5.0New Security &
Device Management
Options
Improved Integration with Microsoft Office
System
Faster Application
Development
• Tighter integration between Microsoft Office Outlook on the desktop and Windows Mobile devices increases mobile workforce productivity
• New Office Mobile for Pocket PC provides immediate access to Office attachments while mobile
• Enabling Partner Differentiation
• Better support for mobile line-of-business application development.
Security improvements make it easier to protect corporate data
Additional provisioning and support functionality makes it easier to deploy and update Windows Mobile devices.
The best mobile enterprise platform for integration with Office, Exchange
and for line of business application development.
http://msdn.microsoft.com/mobility/
http://msdn.microsoft.com/mobility/windowsmobile/howto/windowsmobile5/default.aspx
![Page 4: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/4.jpg)
Native Code
![Page 5: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/5.jpg)
GPS Intermediate Driver
Today GPS feed is single clientSerial port limitation
GPS Intermediate:Parses, multiplexes, notifies
GPSOpenDevice()
GPSCloseDevice()
GPSGetPosition()
GPSGetDeviceState()
![Page 6: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/6.jpg)
Digital Rights ManagementFile-based rights protection
Device-lockedCert specific to device
Time or count-bases limits
Pluggable enginesFor encryption / decryptions
API:FileDrmVerifyRights – verify file protectionFileDrmCreateFile – as per CreateFileFileDrmCommitRights – for count based limit
![Page 7: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/7.jpg)
Local Auth. Sub-SystemReplaces Power-on password
architectureReplacement authentication via Local Authentication Provider (LAP)Integrates with power on events and through control panel
![Page 8: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/8.jpg)
Audio & Visual
Image IntegrationNew COM object for image load and display.
Supports: png, bmp, gif, jpg, ico
Sound SettingsManage user’s sound settings:
Ring tones, Global sound settings (PPC Only)
Use SndSetSound API
Direct Show filterEnables camera stream capture and manipulation
Window Media 10 ActiveX controlCan be hosted in Internet Explorer or custom application
![Page 9: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/9.jpg)
Managed Code
![Page 10: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/10.jpg)
Windows.Forms Controls
DateTimePicker
MonthCalendar
DocumentList
LinkLabel
Notification Bubble
Help
WebBrowser
DataContainer
UserControl
![Page 11: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/11.jpg)
Clipboard supportAdditional properties, methods, events by customer request including
Control.DoubleClickToolBarButton tooltipsMore Treeview events
More Keyboard SupportForm.KeyPreviewTabIndex, TabStop
More Windows.Forms Features
HPHP43004300
Integrated Integrated keyboardskeyboards
![Page 12: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/12.jpg)
Smartphone Features.NET Compact Framework 2.0
Data SupportSQL MobileDataGrid
Textbox IME switching
InputModeEditor
Enable multiple menu items on left softkey
![Page 13: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/13.jpg)
State And Notification BrokerUnified broker model for propagating system or application events in a publisher / subscriber model
Driven through registry keys
Transient and Persistent notification model
Conditional notification
Extensible model
![Page 14: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/14.jpg)
State And Notification Broker Transient Notifications
Notified only when app is runningWindows message, MSMQ, direct callback
Requests do not survive soft resetInvalid hWnd removes registration
Persistent NotificationsApplication launched if not already runningNotification methods
Command line, Windows message
Persists across reboot
![Page 15: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/15.jpg)
Conditional Notifications
DWORD conditional operators==, !=, >, >=, <, <=
String conditional operators==, !=, >, >=, <, <=, contains, starts with, ends with
No conditions on binary data
![Page 16: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/16.jpg)
Managed D3D MobileIncluded in WinCE 5.0 and Windows Mobile 5.0
Native API is DX8 inspired
Managed APIs are DX9 inspired
FeaturesComplete access to the underlying native D3DM API
Fixed point support (Vertex Data, Matrices, Lights, and Materials)
Sprite
Font
Mesh
TextureLoader
Tutorials and Samples
![Page 17: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/17.jpg)
Runtime Improvements:Performance – remove OLEDB for managed codeRe-use spent storage pagesQuery hintsUpdateable scrollable cursors.Multi User
Tools:Integration to SQL WorkbenchDTSData Designer in Visual Studio 2005
SQL Mobile
![Page 18: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/18.jpg)
CAB Project Features
CAB DesignerFile System Editor
Project Output
Content
Shortcuts
RegistryCustom Actions
One CAB format for Pocket PC and Smartphone
![Page 19: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/19.jpg)
![Page 20: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/20.jpg)
Richer Platform
.NET CF 2.0
MFC 8.0, ATL 8.0Broad managed code support Notifications Broker, Location, Camera, Watson, D3DM
.NET CF SP2
VGA (PPC)QVGA (SP)SquareLandscape
ATL 4.2, .NET CF Enhanced Emulator Configuration Mgr,Bluetooth, SMS
MFC, ATL
Active SyncConnection MgrMAPIOBEXTelephony
MFC
Win32, POOM
BetterDevelopment
Visual Studio 2005(C#, VB.NET, C++)
eVC 3 (C++)eVC 4 (C++)
VS.NET 2003 (C#, VB.NET)
eVC 3 (C++)eVC 4 (C++)
VS.NET 2003(C#, VB.NET)
eVC 3 (C++)eVB 3 (VB)
eVC 3 (C++)eVB 3 (VB)
Core OS WinCE 5.0WinCE 4.2WinCE 4.2WinCE 3.0 WinCE 3.0
MoreDevice Choices
Windows Mobile 5.0
2003Second Edition
200320022000
Developer Roadmap
![Page 21: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/21.jpg)
Summary
Rich platform and hardware
Windows Mobile 5.0
Rich and robust platform on which to build and deploy Mobile applications
Visual Studio 2005
Single environment for managed and native applications
State of the art IDE spans desktop, web and device
.NET Compact Framework
Brings mobile device development to mainstream developer community
![Page 22: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/22.jpg)
Windows MobileResources
Windows Mobile Developer Tools and Resourceswww.microsoft.com/windowsmobile/developer
Windows Mobile Developer Resource Kithttp://msdn.microsoft.com/mobility/windowsmobile/howto/kits/default.aspx
Case studies and white papers
Windows Mobile 5.0 SDK for Pocket PC
Windows Mobile 5.0 SDK for Smartphone
Visual Studio 2005 Beta 2
ActiveSync version 4.0
Microsoft Device Emulator 1.0 Community Preview
Windows Mobile 5.0 and Visual Studio 2005 white papers and videos
Free
![Page 23: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/23.jpg)
Windows MobileResources
Windows Mobile Developer Communitieswww.microsoft.com/windowsmobile/resources/communities/developer
Windows Mobile Application Developer Centrewww.msdn.com/mobility
Mobile2Marketwww.microsoft.com/windowsmobile/mobile2market
Online Learningwww.learn247.net
Online European Communitywww.codezone.info
![Page 24: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/24.jpg)
Event slides will be posted at:
www.microsoft.com/uk/msdn/postevents
![Page 25: Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman Marcus.perryman@microsoft.com](https://reader036.vdocuments.site/reader036/viewer/2022062517/56649f265503460f94c3cfd8/html5/thumbnails/25.jpg)
© 2003-2004 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.