Microsoft.NET mobiililaitteille:.net Compact Framework Aali Alikoski Architect Evangelist Microsoft Finland aali@microsoft.com Agenda Visual Studio.NET &.NET Framework Microsoft-alustan mobiililaitteet Mobiilikehitys Q&A This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 1
Visual Studio.NET 2003 &.NET Framework Microsoft.NET mikä? 1. Microsoftin implementaatio Web Services teknologioista 2. Alusta sovellusten tekemiseen Microsoft-ympäristössä nyt ja tulevaisuudessa Software to connect information, people, systems and devices This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 2
Mitä.NETtiin kuuluu? Työkalut sovellusten tekemiseen Visual Studio.NET Joukko ohjelmointikieliä.net Framework Alusta sovellusten suorittamiseen Windows-käyttöjärjestelmä.NET Framework Taustalla myös palvelimia -.NET Enterprise Servers Visual Studio.NET ja ohjelmointikielet Browser Apps Web Services Local Apps Mobile Apps Windows Forms Enterprise Services ASP.NET ADO.NET More.NET Framework Class Library Common Language Runtime Windows ja palvelinsovellukset This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 3
Monen kielen tuki.net on kieliriippumaton Kaikki.NET-kielet samanarvoisia Integraatio kielten välillä Samat ohjelmointityökalut Microsoft tekee Visual Basic, C++, C#, J#, JScript Kolmannet osapuolet APL, COBOL, Eiffel, Fortran, Haskell, ML, Perl, Python, RPG, Scheme, Smalltalk, Käyttöliittymät Neljä erilaista.net-käyttöliittymää 1. Perinteinen Windows-sovellus 2. Perinteinen Web-käyttöliittymä - selain 3. Mobiili Windows-sovellus - PocketPC 4. Mobiili Web-käyttöliittymä WAPkännykkä Muut käyttöliittymät? Toiminnallisuus käyttöön Web-palveluiden kautta jolloin käyttöliittymä voi olla melkein mitä vain! Koodin käyttö liittymästä toiseen This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 4
Development For Mobile Devices Development Platform Overview Visual Studio.NET.NET Framework Server-side Web Apps Remote Web Pages Local Code Client-side Rich Apps Mobile Web Browser.NET Compact Framework Mobile Devices This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 5
Mobile Devices Windows XP-based Laptops and Tablet PCs Windows XP Windows XP Tablet PC Edition Custom devices Windows XP Embedded Custom operating system built from Windows XP components Mobile Devices Windows CE-based PDA-style Pocket PC 2000, 2002 & Phone Edition Windows CE 3.0 Pocket PC 2003 & Phone Edition Windows CE.NET 4.2 Phone-style SmartPhone 2002 Windows CE 3.0 SmartPhone 2003 Windows CE.NET 4.2 This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 6
Pocket PC Phone vs Smartphone Pocket PC Phone Edition Touch Screen PDA Form Factor Storage in RAM 32-128MB RAM, ~200-400MHz CPU Smartphone No Touch Screen Phone Form Factor Durable Like a Phone Storage on Flash 16MB RAM, ~125-200MHz CPU Both Multimedia Features Pocket Outlook, Pocket Internet Explorer GSM/GPRS or CDMA Radio SD Card More Network Connectivity Technologies supported by Windows CE WLAN Bluetooth GSM/GPRS/CDMA IrDA Hardware support Varies by device Not all technologies supported in all devices This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 7
Laitteiden saatavuus Suomessa Pocket PC Tarjontaa paljon Puhelinlaitteet (Phone Edition & SmartPhone) Qtek maahantuoja M-Technology Oy http://www.m-technology.fi Useita jälleenmyyjiä http://www.qtek.fi/retailers.htm Mobile Browser Applications This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 8
Development For Mobile Devices Mobile Browser Applications Visual Studio.NET.NET Framework Remote Web Pages Local Code Mobile Web Browser.NET Compact Framework Range of Devices Web Site This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 9
The Solution: ASP.NET Mobile Controls Adaptively render to devices based on browser, device and gateway combination Extend ASP.NET to empower web developers to build mobile web applications Integrates with the Visual Studio.NET development environment for ease of use. Formerly known as Microsoft Mobile Internet Toolkit. The Solution: ASP.NET Mobile Controls Single mobile Web page that adapts to multiple devices Support multiple mark-up languages WML1.1 (WAP), chtml 1.0, xhtml Mobile and Basic profile, and HTML 3.2 Support for a variety of devices Web enabled Cell Phones, PDAs, and Pagers Customizable and extensible framework Add new controls and devices Support for new devices with out having to rewrite or recompile your application This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 10
Supported Mobile Browsers V1.0: Support for 80+ devices ACCESS Compact, Ericsson, GoAmerica Go.Web, Microsoft Mobile Explorer, Microsoft Pocket Internet Explorer, Nokia, Openwave UP.Browser 3.x and 4.x, many more Device Update 1, May 2002: ~150 devices Device Update 2, January 2003: 200+ devices Device Update 3, August 2003: 236 devices If your device is not supported in a Microsoft Device Update pack: Extensibility features allow you to add your own support Mobile Windows Applications This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 11
Development For Mobile Devices Mobile Windows Applications Visual Studio.NET.NET Framework Remote Web Pages Local Code Mobile Web Browser.NET Compact Framework Managed Code Development Visual Studio.NET &.NET Compact Framework Rich, deep API for smart devices User Interface: GDI+, Windows Forms Connectivity: Web services, TCP/IP, IrDA Data Access: ADO.NET, XML Native code interoperability JIT compiled, not interpreted Best of managed & native worlds Visual Studio.NET IDE Same skills as desktop and server This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 12
Visual Studio.NET 2003 Supports Pocket PC 2002 out of the box Pocket PC 2002 Emulator 2003 versions supported via free downloads Windows Mobile 2003 Pocket PC SDK Windows Mobile 2003 Smartphone SDK Emulators for 2003 versions www.microsoft.com/windowsmobile/devel oper Visual Studio.NET 2003 Device Features Visual Basic.NET and Visual C#.NET Compact Framework Support Features Device project templates Rich designers and editors Integrated help and samples Emulation Remote debugging Simple application install This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 13
Compact Framework Support in Devices Windows Mobile 2003 Based on Windows CE.NET 4.2 operating system Includes Compact Framework in ROM Pocket PC 2003 Full compact framework Smartphone 2003 Subset of compact framework features Most Pocket PC features fully supported Controls adapted to have Smartphone look & feel Smartphone navigation model supported Support for keypad navigation and keypad events Supported Controls Pocket PC and Windows CE.NET Supported controls Button CheckBox ComboBox ContextMenu DataGrid DomainUpDown FileOpenDialog HScrollBar ImageList Label ListBox ListView TreeView FileSaveDialog MainMenu NumericUpDown Panel PictureBox ProgressBar RadioButton StatusBar TabControl TextBox Timer ToolBar VScrollBar MessageBox Form This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 14
Supported Controls Smartphone Supported controls Button CheckBox ComboBox ContextMenu DataGrid DomainUpDown FileOpenDialog HScrollBar ImageList Label ListBox ListView TreeView FileSaveDialog MainMenu NumericUpDown Panel PictureBox ProgressBar RadioButton StatusBar TabControl TextBox Timer ToolBar VScrollBar MessageBox Form Smartphone Developer Kit red e SC1100 Smartphone device Null SIM Mobile Development Toolkit (Resource CD) VS.NET 2003 trial Smartphone 2003 SDK Whitepapers, Getting Started, etc. Available for $499.00 www.microsoft.com/mobile/partners This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 15
Data Access in Compact Framework ADO.NET DataSet Providers for SQL Server 7.0, 2000 CE 2.0 Strategies Always connected Caching Occasionally connected SQL Server CE 2.0 SQL Server engine for Windows CE devices Only Pocket PC supported currently Many SQL Server features supported Local access via System.Data.SQLServerCE Supports replication with SQL Server This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 16
Futures.NET Futures Next generation.net Framework 2.0 Visual Studio Whidbey SQL Server Yukon SQL Server CE Laguna Beyond Windows Longhorn Visual Studio Orcas This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 17
Core Concepts For Whidbey Integrated Native and Managed Development Environment Enhanced Language Support Performance Making the machine faster Extensibility Extend and integrate the.net CF platform into your device Library Evolution Increased developer productivity and code portability Summary Developer tools for 2003 versions are available now Pocket PC & Smartphone VS.NET 2003 & Compact Framework 1.0 for managed development Target non-ms devices with ASP.NET Mobile Controls This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 18
This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 19