developing applications with visual studio 2005 (part 2) marcus perryman...
TRANSCRIPT
Developing Applications with Visual Studio 2005 (part 2)
Marcus [email protected]://blogs.msdn.com/marcpe
Agenda
Windows Mobile 5.0 design goals
Native only features
Managed code features
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
Native Code
GPS Intermediate Driver
Today GPS feed is single clientSerial port limitation
GPS Intermediate:Parses, multiplexes, notifies
GPSOpenDevice()
GPSCloseDevice()
GPSGetPosition()
GPSGetDeviceState()
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
Local Auth. Sub-SystemReplaces Power-on password
architectureReplacement authentication via Local Authentication Provider (LAP)Integrates with power on events and through control panel
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
Managed Code
Windows.Forms Controls
DateTimePicker
MonthCalendar
DocumentList
LinkLabel
Notification Bubble
Help
WebBrowser
DataContainer
UserControl
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
Smartphone Features.NET Compact Framework 2.0
Data SupportSQL MobileDataGrid
Textbox IME switching
InputModeEditor
Enable multiple menu items on left softkey
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
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
Conditional Notifications
DWORD conditional operators==, !=, >, >=, <, <=
String conditional operators==, !=, >, >=, <, <=, contains, starts with, ends with
No conditions on binary data
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
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
CAB Project Features
CAB DesignerFile System Editor
Project Output
Content
Shortcuts
RegistryCustom Actions
One CAB format for Pocket PC and Smartphone
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
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
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
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
Event slides will be posted at:
www.microsoft.com/uk/msdn/postevents
© 2003-2004 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.