Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mobile Application Development 2005 By Sam Nasr July 25, 2006 www.ClevelandDotNet.info.

Similar presentations


Presentation on theme: "Mobile Application Development 2005 By Sam Nasr July 25, 2006 www.ClevelandDotNet.info."— Presentation transcript:

1 Mobile Application Development 2005 By Sam Nasr July 25, 2006 www.ClevelandDotNet.info

2 Agenda Introduction Introduction Mobile Platform Mobile Platform.Net Compact Framework.Net Compact Framework Demo Demo Data Management Data Management Web Services Web Services Q&A Q&A Feedback Feedback

3 Windows Mobile Devices Windows Mobile provides a variety of device types Windows Mobile provides a variety of device types Pocket PC Pocket PC Smartphone Smartphone Pocket PC Phone Edition Pocket PC Phone Edition

4 Windows Mobile Platform Common Win32 platform across device types Common Win32 platform across device types Mobile versions of productivity tools Mobile versions of productivity tools Excel Mobile, Word Mobile, Pocket Outlook Excel Mobile, Word Mobile, Pocket Outlook Simplified access to device extensions Simplified access to device extensions Camera, GPS, Phone Camera, GPS, Phone

5 Thin Clients VS. Fat Client

6 Developing Mobile Applications NET Compact Framework 2.0 NET Compact Framework 2.0 Leverage desktop.NET Framework skills Leverage desktop.NET Framework skills Classes for forms, drawing, storage, net, data access, XML Classes for forms, drawing, storage, net, data access, XML Optimized for smart devices (28% of coverage, 8% of size). Optimized for smart devices (28% of coverage, 8% of size). Full support for VB.NET and C# language features Full support for VB.NET and C# language features Visual Studio 2005 Visual Studio 2005 Development experience consistent with desktop Development experience consistent with desktop Automated application deployment Automated application deployment Integrated device debugging Integrated device debugging Run managed.EXEs and.DLLs directly Run managed.EXEs and.DLLs directly Debug with Visual Studio.NET Debug with Visual Studio.NET Emulators Emulators Develop and debug applications without a device Develop and debug applications without a device Emulator Manager provides centralized control Emulator Manager provides centralized control

7 Windows Mobile Managed APIs Focus on simplifying device development Focus on simplifying device development Encapsulate common device tasks Encapsulate common device tasks Global Positioning System interaction Global Positioning System interaction Camera and picture management Camera and picture management 3-D Graphics and multimedia support 3-D Graphics and multimedia support State and Notifications Broker (SNAPI) State and Notifications Broker (SNAPI) Common repository for device information Common repository for device information Phone state, battery life, what song is playing Phone state, battery life, what song is playing Sends notifications of changes in device state Sends notifications of changes in device state Network availability, arrival of phone call Network availability, arrival of phone call Arrival of SMS/email message Arrival of SMS/email message

8 .NET Framework System System.DataSystem.Xml System.Web Globalization Text Security Collections Resources Reflection Net IO Threading Diagnostics ServiceProcess Configuration Design ADO.NETSqlClient Xslt/XPath XmlDocument Runtime InteropServices Remoting Serialization Serialization ConfigurationSessionState CachingSecurity Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Text Printing System.WinForms DesignComponentModel Reader/Writers

9 .NET Compact Framework System System.DataSystem.Xml System.Web Globalization Text Security Collections Resources Reflection Net IO Threading Diagnostics ServiceProcess Configuration Design ADO.NET SqlServerCe SqlClient Xslt/XPath XmlDocument Runtime InteropServices Remoting Serialization Serialization ConfigurationSessionState CachingSecurity Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Text Printing System.WinForms DesignComponentModel Reader/Writers

10 Demo

11 Data Management

12 SQL Server 2005 Mobile Edition (SQL Mobile) SQL Server 2005 Mobile Edition (SQL Mobile) Full featured database running locally on device Full featured database running locally on device inner/outer joins, transactions, locking, much more inner/outer joins, transactions, locking, much more Visual Studio 2005 support Visual Studio 2005 support Server Explorer Server Explorer Create database, tables and indices Create database, tables and indices Modify schema and data Modify schema and data Database file can be located on device or desktop Database file can be located on device or desktop Forms Designer Forms Designer Controls created directly from table schema Controls created directly from table schema Data view and edit forms can be auto generated Data view and edit forms can be auto generated

13 SQL Mobile Synchronization Remote Data Access (RDA) Remote Data Access (RDA) Merge Replication Merge Replication

14 Remote Data Access (RDA) Loosely-coupled Loosely-coupled Retrieve data from server and track local changes Retrieve data from server and track local changes Send local changes back to server Send local changes back to server Very lightweight server cost Very lightweight server cost requires URL pointing to DLL to allow data access. (i.e. http://192.168.1.100/sqlmobile/sqlcesa30.dll") requires URL pointing to DLL to allow data access. (i.e. http://192.168.1.100/sqlmobile/sqlcesa30.dll")

15 Merge Replication Tightly-coupled device and server schema Tightly-coupled device and server schema Changes tracked on both device and server Changes tracked on both device and server Device and server changes reconciled on synch Device and server changes reconciled on synch Significant server cost Significant server cost DB File (.SDF) stored in a folder on the mobile device. (i.e. Data Source =" foldername + "RealEstate.sdf) DB File (.SDF) stored in a folder on the mobile device. (i.e. Data Source =" foldername + "RealEstate.sdf)

16 SQL Server Everywhere Essential relational database functionality in a compact footprint Essential relational database functionality in a compact footprint Ideal for mobile and desktop applications, including occasionally connected Ideal for mobile and desktop applications, including occasionally connected Embeddable in applications Embeddable in applications Free to download, develop, deploy, and redistribute Free to download, develop, deploy, and redistribute

17 SQL Server Everywhere Increase Productivity: SQL Server Everywhere allows developers and administrators to apply their existing SQL Server skills and be immediately productive. Increase Productivity: SQL Server Everywhere allows developers and administrators to apply their existing SQL Server skills and be immediately productive. Enables Deep Business Insight: SQL Server Everywhere, together with Business Intelligence in SQL Server 2005, allows you to extend your business insights further across the organization to distributed and mobile applications.Enables Deep Business Insight: SQL Server Everywhere, together with Business Intelligence in SQL Server 2005, allows you to extend your business insights further across the organization to distributed and mobile applications. Reliability For Mission-Critical Business: Originally built on SQL Mobile technology, SQL Server Everywhere has self-healing and management technologies built designed to handle instant off and dead battery scenarios.Reliability For Mission-Critical Business: Originally built on SQL Mobile technology, SQL Server Everywhere has self-healing and management technologies built designed to handle instant off and dead battery scenarios. Better Value Over Time: As requirements and scale grow, SQL Server Everywhere can easily scale up to other editions of SQL Server.Better Value Over Time: As requirements and scale grow, SQL Server Everywhere can easily scale up to other editions of SQL Server.

18 Web Services & Mobile Apps Web services perfectly suited for mobile apps Web services perfectly suited for mobile apps Can communicate with any enterprise platform Can communicate with any enterprise platform Well suited for casual connectivity Well suited for casual connectivity Inexpensive way to roll-out mobile solutions Inexpensive way to roll-out mobile solutions Provide internet access to enterprise resources Provide internet access to enterprise resources Accessing web services same as on desktop Accessing web services same as on desktop Visual Studio Add Web Reference generates proxy Visual Studio Add Web Reference generates proxy Proxy class handles communications details Proxy class handles communications details

19 .Net Mobile Advantages Managed Code environmentManaged Code environment Garbage Collection Garbage Collection Type safety Type safety Exception Handling Exception Handling Threading Threading Organized.Net Classes Organized.Net Classes ADO.Net Integration ADO.Net Integration Platform Invoke (P/Invoke) service Platform Invoke (P/Invoke) service Integration with Web Services Integration with Web Services Single Vendor relationship Single Vendor relationship Tight integration with Mobile APIsTight integration with Mobile APIs Remote ViewerRemote Viewer Rich Graphics UIRich Graphics UI Faster application performanceFaster application performance High Productivity with Visual Studio.Net Intellisense Remote debugging Common development experience Emulators provide accurate debug and development experience Separation of code, HTML, and scripts for easier debugging Multi-language support Reduced application development time Code Access Security Tight integration with other MS products Integration with SQL Server CE ActiveSync

20 Summary Windows Mobile Development Windows Mobile Development Common development experience with desktop Common development experience with desktop Emulators provide accurate debug and development experience Emulators provide accurate debug and development experience Data Management Data Management SQL Mobile provides reliable local data store SQL Mobile provides reliable local data store RDA and Merge Replication provide server synch RDA and Merge Replication provide server synch Web services give easy access to server resources Web services give easy access to server resources Windows Mobile 5.0 Windows Mobile 5.0 Simplifies common device tasks Simplifies common device tasks Standardizes system status and notification Standardizes system status and notification

21 Valuable Resources Windows Mobile Developer Center Windows Mobile Developer Centerhttp://msdn.microsoft.com/mobility FREE Mobile Developer Resource Kits FREE Mobile Developer Resource Kitshttp://msdn.microsoft.com/mobility/windowsmobile/howto/kits/ SQL Server 2005 Mobile Edition SQL Server 2005 Mobile Editionhttp://msdn.microsoft.com/mobility/sqlmobile/default.aspx Comparing RDA and Merge Replication Comparing RDA and Merge Replicationhttp://msdn.microsoft.com/library/en-us/dnsql90/html/sql2k5mobile.asp

22 Additional Information Mobile Messaging Discussion http://www.microsoft.com/downloads/details.aspx?fa milyid=67c06122-17b2-4268-9f71- a583ff7d5e17&displaylang=en http://www.microsoft.com/downloads/details.aspx?fa milyid=67c06122-17b2-4268-9f71- a583ff7d5e17&displaylang=en http://www.microsoft.com/downloads/details.aspx?fa milyid=67c06122-17b2-4268-9f71- a583ff7d5e17&displaylang=en How Microsoft IT Does Mobile Messaging (Level 300) How Microsoft IT Does Mobile Messaging (Level 300) http://go.microsoft.com/fwlink/?LinkId=64090 http://go.microsoft.com/fwlink/?LinkId=64090 http://go.microsoft.com/fwlink/?LinkId=64090 Mobile Client Software Factory (Patterns and Practices) Mobile Client Software Factory (Patterns and Practices) http://www.gotdotnet.com/codegallery/codegalle ry.aspx?id=5bef2b5f-476a-488c-8d55-9d41666a36f3 http://www.gotdotnet.com/codegallery/codegalle ry.aspx?id=5bef2b5f-476a-488c-8d55-9d41666a36f3 http://www.gotdotnet.com/codegallery/codegalle ry.aspx?id=5bef2b5f-476a-488c-8d55-9d41666a36f3 http://www.gotdotnet.com/codegallery/codegalle ry.aspx?id=5bef2b5f-476a-488c-8d55-9d41666a36f3

23 Upcoming Events Tuesday, August 22, 2006 Tuesday, August 22, 2006 TechNet (8AM-Noon) and MSDN Events (1-5PM) Tuesday, August 29, 2006 (Noon EST) Tuesday, August 29, 2006 (Noon EST) Live From Redmond:.NET Compact Framework 2.0: Optimizing for Performance Live From Redmond:.NET Compact Framework 2.0: Optimizing for Performance Tuesday, August 29, 2006 Tuesday, August 29, 2006 C#/VB.Net SIG (6:30 PM - 8:30 PM)


Download ppt "Mobile Application Development 2005 By Sam Nasr July 25, 2006 www.ClevelandDotNet.info."

Similar presentations


Ads by Google