Windows Mobile 5.0 Features & Functionality! Wim Verhaeghen - Erwin van Hunen -
Who we are Wim Verhaeghen Enterprise development background MSDN/TechNet Community guy Erwin van Hunen Systems architect Doppler / DopplerMobile A “former” IBM technology focused guy
Take away You will learn about the differences in the various platforms You will know how to build a Windows Mobile application You will see how to integrate back-end data in your mobile application
But first! Switch your mobile phone ON! but make sure it’s put into silent mode You will need it later on!
Agenda Introduction What’s new in Windows Mobile 5.0 SQL Server 2005 Mobile Edition
Devices Windows Mobile 2003 Windows Mobile 5.0 SmartPhonePocket PC
Pocket Office Windows Mobile 5.0 Pocket Word* Pocket Excel* Pocket Outlook Pocket PowerPoint* Internet Explorer Mobile Pocket MSN Media Player Mobile
Development Environment Visual Studio 2005 Windows Mobile 5.0 Developer Resource Kit Windows Mobile 5.0 SDKs For Pocket PC and SmartPhone ActiveSync 4.1.NET Compact Framework 2.0 SQL Server 2005 Mobile Edition
Forms Designer
Introduction Overview Great devices available now! Pocket Office Visual Studio 2005 Extremely easy to develop
Agenda Introduction What’s new in Windows Mobile 5.0 SQL Server 2005 Mobile Edition
What’s New? Compact Framework 2.0 New Features New APIs What’s new in Visual Studio 2005
New Features State and Notification Broker Picture Selection Dialog Camera Capture API/SHCameraCapture Pocket Outlook Object Model Enhancements
Picture Selection Dialog
New Managed APIs Telephony Microsoft.WindowsMobile.Telephony.Phone Outlook Mobile Microsoft.WindowsMobile.PocketOutlook Messaging Microsoft.WindowsMobile.PocketOutlook. Account Microsoft.WindowsMobile.PocketOutlook.SmsAccount Configuration Manager Microsoft.WindowsMobile.Configuration.ConfigurationManager
It’s easy making a phone call Phone p = new Phone(); p.Talk(“ ”);
Pocket Outlook New Managed Model Far simpler than using the COM interfaces Access Contacts Calendar Tasks Messaging Notifications Be alerted when PIM items change
SMS Interceptor
New in Visual Studio 2005 DateTimePicker MonthCalendar LinkLabel WebBrowser New on SmartPhone DataGrid Textbox Input Method switching Multiple menu items on left softkey
New Controls DocumentListDateTimePickerNotificationWebBrowser
Display and Layout Orientation Support ChangeOrientation method Docking and Anchoring Autoscroll property Suspend/Resume Layout Resolution Support Automatic scaling Graphics DpiX/DpiY
State & Notification Broker Unification of device stats Examples of use Phone (e.g. Missed Call, Phone Status, Caller ID) Network Connections (e.g. WiFi, GPRS, modem) Calendar (e.g. Current and Next Appointments) Messaging (e.g. Unread Mail Count, SMS) Many Others (e.g. Display Orientation, Cradled) Extensible
What’s New Overview Coding is not different from desktop applications Easy to use APIs Lots of new controls
Agenda Introduction What’s new in Windows Mobile 5.0 SQL Server 2005 Mobile Edition
Dealing with Data Dealing with data on the device Files XML SQL Server 2005 Mobile Edition Synchronizing with a back-end server
SQL Server 2005 Mobile Edition Formerly called SQL Server CE Fully-relational DB in 2-3MB footprint Tight Integration Visual Studio 2005 SQL Server 2005 Powerful synchronization Remote Data Access Merge Replication Secure Support for Windows Mobile 5.0 SmartPhones
SQL Server 2005 Mobile Edition Supported Platforms PocketPC [Phone Edition] 5.0, 2003 Smart Phone 5.0 Windows CE.NET 5.0 TabletPC
More Features Multi-User support Improved query processor Create the database on the desktop Transfer databases with ActiveSync
Data on the Client
Typed DataSet vs SqlCeResultSet Included in.NET CF 2.0 / SQL Mobile Scrolling access Update in place Random access Goals Performance Improvement Binding Rapid Development
Dealing with Data Dealing with data on the device Files XML SQL Server 2005 Mobile Edition Synchronizing with a back-end server
Merge Replication.NET CF via SqlCeReplication Initial snapshot from SQL Server Data can be modified On device or at server Conflict resolution can be customized Changes reconciled at next synchronization Data Filters Optimize Performance Row and Column static filters Parameterized filters Join filters
Configuring Replication
Merge Replication.NET CF via SqlCeReplication Initial snapshot from SQL Server Data can be modified On device or at server Conflict resolution can be customized Changes reconciled at next synchronization Data Filters Optimize Performance Row and Column static filters Parameterized filters Join filters
Remote Data Access.NET CF via SqlCeRemoteDataAccess Pull Operation SQL Statement or Stored Procedure To track changes, pull from one table only Push Changes Back to Server SubmitSQL executes without a result set
Securing SQL Mobile SQL Mobile Database Password protection Encryption On the Server Encrypt HTTP traffic with SSL Authenticate at IIS Limit NTFS permissions to sqlcesa30.dll Optionally re-authenticate at SQL Server Authorize access to specific Publications
SQL Server 2005 Mobile Edition Overview Tight integration Visual Studio 2005 SQL Server 2005 Powerful synchronization Remote Data Access Merge Replication
Summary Great new features for mobile development First class citizen in Visual Studio It’s fun! Use your existing skills Great devices available now
Giveaway Send SMS message
Windows Mobile Developer Day March 27, Sheraton Brussels 1 day, 5 sessions Learn about the platform and tools It’s FREE of charge
Mobile & Embedded DevCon 3 days, 4 tracks, 60 Sessions See the latest platform advances Stay ahead of the competition
Q & A Ask it now! Meet us at the Ask The Experts booth Mail us