#1 - introduzione windows mobile marco frontini [email protected] product manager

8
#1 - Introduzione #1 - Introduzione Windows Mobile Windows Mobile Marco Frontini Marco Frontini [email protected] [email protected] Product Manager Product Manager www.softandroll.it www.softandroll.it

Upload: hannah-whitaker

Post on 28-Mar-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: #1 - Introduzione Windows Mobile Marco Frontini marco.frontini@softandroll.it Product Manager

#1 - Introduzione#1 - IntroduzioneWindows MobileWindows Mobile

Marco FrontiniMarco [email protected]@softandroll.it

Product ManagerProduct Managerwww.softandroll.itwww.softandroll.it

Page 2: #1 - Introduzione Windows Mobile Marco Frontini marco.frontini@softandroll.it Product Manager

Utilizzo del deviceUtilizzo del deviceCome l’applicazione utilizza il device?Come l’applicazione utilizza il device?

ExclusiveExclusive• è l’unica applicazioneè l’unica applicazione• ““deve” essere l’unicadeve” essere l’unica• interfaccia custominterfaccia custom• installazione forzatainstallazione forzata• risorse HW-SW risorse HW-SW

esclusiveesclusive• guidelines opzionaliguidelines opzionali• logo-compliant? difficilelogo-compliant? difficile

SharedShared• convive con altreconvive con altre• dialoga con le altredialoga con le altre• interfaccia consistenteinterfaccia consistente• installazione per l’utenteinstallazione per l’utente• risorse HW-SW condiviserisorse HW-SW condivise• conforme alle guidelinesconforme alle guidelines• logo-compliant? logo-compliant?

probabileprobabile

Pensare a quali problemi ne derivano e come risolverli

Page 3: #1 - Introduzione Windows Mobile Marco Frontini marco.frontini@softandroll.it Product Manager

Panoramica su Windows CE Panoramica su Windows CE Win CE, Pocket PC, Windows Win CE, Pocket PC, Windows

Mobile, ... ? Mobile, ... ?

• Windows CE, un OS Modulare non solo per PPC o SPWindows CE, un OS Modulare non solo per PPC o SP• Windows CE 3.0 Windows CE 3.0 (CF supportato solo su Pocket PC)(CF supportato solo su Pocket PC)

• Handheld PC 2000 Handheld PC 2000 (CF non supportato)(CF non supportato)

• Windows CE .NET 4.2Windows CE .NET 4.2• Windows for Pocket PC 2000-2002 Windows for Pocket PC 2000-2002 (CE 3.0)(CE 3.0)

• Windows Mobile 2003 Windows Mobile 2003 (CE .NET 4.2)(CE .NET 4.2) • Windows Mobile 2003 SE Windows Mobile 2003 SE (CE .NET 4.21)(CE .NET 4.21)

• Windows Mobile 5.0 Windows Mobile 5.0 (CE .NET 5.0 )(CE .NET 5.0 )

Page 4: #1 - Introduzione Windows Mobile Marco Frontini marco.frontini@softandroll.it Product Manager

DisplayDisplayUSB or SerialUSB or Serial

ProcessorProcessorMemoryMemory

GSM/GPRSGSM/GPRSCDMA/1xRTTCDMA/1xRTT

Device Device HardwareHardware

WiFiWiFiBluetoothBluetooth

RadioRadio

DriversDrivers

Windows MobileWindows Mobile CE DBCE DBActiveSyncActiveSyncSQL MobileSQL Mobile

Pocket OutlookPocket OutlookPocket Internet ExplorerPocket Internet ExplorerWindows Media PlayerWindows Media Player

WindowsWindows CECE

** = Managed wrappers = Managed wrappers

Home ScreenHome ScreenUser Interface/ShellUser Interface/ShellHTML ControlHTML ControlDOMDOM

GAPIGAPICameraCameraD3DMD3DM

Remote APIRemote APIConfiguration*Configuration*BluetoothBluetoothNot. BrokerNot. BrokerPocket WatsonPocket Watson

Connection ManagerConnection Manager TAPI*TAPI*SMS* SMS* MAPI* MAPI* POOM*POOM*

MultimediaMultimediaCommunicationCommunicationDevice ManagementDevice Management PresentationPresentation

SQL MobileSQL MobileADO CEADO CEXMLXMLCE DBCE DBOLE DBOLE DB

Data AccessData Access

Software Platform (APIs)Software Platform (APIs)

NativeNative

Win32Win32

MFCMFC ATLATL

ManagedManaged

.NET Compact.NET CompactFramework 2.0Framework 2.0

Server sideServer side

ASP .NETASP .NETMobile ControlsMobile Controls

Visual Studio 2005Visual Studio 2005

Introduzione Introduzione Piattaforma Windows MobilePiattaforma Windows Mobile

Page 5: #1 - Introduzione Windows Mobile Marco Frontini marco.frontini@softandroll.it Product Manager

Devices e piattaforme supportate Devices e piattaforme supportate daldal

.NET Compact Framework.NET Compact Framework

Device Platform .NET CFVersion

In ROM

Pocket PCPocket PC Phone Edition

Pocket PC 2000, Pocket PC 2002Windows Mobile 2003 for Pocket PCWindows Mobile 2003 for Pocket PC SEWindows Mobile Version 5.0 for Pocket PCs

1.01.0, 2.01.0, 2.01.0, 2.0

-1.0 sp11.0 sp21.0 sp3

Smartphone Windows Mobile 2003 for SmartphoneWindows Mobile 2003 for Smartphone SEWindows Mobile Version 5.0 for Smartphone

1.01.01.0, 2.0

1.0 sp11.0 sp21.0 sp3

Other Windows CE devices

Windows CE 4.1Windows CE 4.2Windows CE 5.0

1.01.01.0, 2.0

1.01.0 sp11.0 sp3

Page 6: #1 - Introduzione Windows Mobile Marco Frontini marco.frontini@softandroll.it Product Manager

Differenze con la versione FullDifferenze con la versione Full .NET CF è un sottoinsieme della versione Full.NET CF è un sottoinsieme della versione Full

DifferenzeDifferenze• Tipi (Tipi (molte classi sono state omessemolte classi sono state omesse))• Method Overloads (Method Overloads (molti Overloads sono stati tralasciatimolti Overloads sono stati tralasciati) ) • Web Services (Web Services (solo clientsolo client))• NGen (NGen (mancamanca))

Classi mancantiClassi mancanti• Classi legate alla stampa (Classi legate alla stampa (Crystal, PrintDialog, etc.Crystal, PrintDialog, etc.))• Binary SerializationBinary Serialization• RemotingRemoting

Classi mancanti nel CF 1.0Classi mancanti nel CF 1.0• Microsoft.Win32.Registry namespaceMicrosoft.Win32.Registry namespace• System.Xml.XPath namespace ed Extensible Stylesheet Language System.Xml.XPath namespace ed Extensible Stylesheet Language

Transformation (XSLT)Transformation (XSLT)• COM InteropCOM Interop• BluetoothBluetooth

Il codice è sempre IL compilato a runtime con il JIT, esiste la GACIl codice è sempre IL compilato a runtime con il JIT, esiste la GAC

Page 7: #1 - Introduzione Windows Mobile Marco Frontini marco.frontini@softandroll.it Product Manager

Windows FormsWindows FormsControlli, proprietà e metodi mancantiControlli, proprietà e metodi mancanti

Controlli non supportatiControlli non supportati• ColorDialogColorDialog• FontDialogFontDialog• OpenFileDialog, SaveFileDialogOpenFileDialog, SaveFileDialog

• solo un livello sotto My Documentssolo un livello sotto My Documents• Common dialogsCommon dialogs

• non sono supportate su Smartphonenon sono supportate su Smartphone• Custom ControlsCustom Controls

• supportati in VS 2005, ma anche in VS 2003...supportati in VS 2005, ma anche in VS 2003...

Proprietà e metodi non supportatiProprietà e metodi non supportati• TabIndex, TabStopTabIndex, TabStop

• introdotti nel CF 2.0introdotti nel CF 2.0• Data BindingData Binding

• DataSet, non è supportata la proprietà DataGrid.DataMemberDataSet, non è supportata la proprietà DataGrid.DataMember

Page 8: #1 - Introduzione Windows Mobile Marco Frontini marco.frontini@softandroll.it Product Manager

Namespaces e tipi specifici del Namespaces e tipi specifici del CFCF

• System.Net.IrDASystem.Net.IrDA• System.Data.SqlServerCeSystem.Data.SqlServerCe• System.SRSystem.SR• <System.Windows.Forms.DataGrid> in un assembly separato<System.Windows.Forms.DataGrid> in un assembly separato• Microsoft.WindowsCE.FormsMicrosoft.WindowsCE.Forms

• InputPanel, MessageWindowInputPanel, MessageWindow

Nel CF 2.0Nel CF 2.0• Microsoft.WindowsMobile.DirectXMicrosoft.WindowsMobile.DirectX• System.Messaging - System.Messaging - MessageQueueMessageQueue• CustomMarshalersCustomMarshalers• Microsoft.WindowsCE.FormsMicrosoft.WindowsCE.Forms

• Notification (balloon), DocumentList, InputMethod, InputModeEditor, Notification (balloon), DocumentList, InputMethod, InputModeEditor, MobileDevice.Hibernate event, SystemSettings.ScreenOrientationMobileDevice.Hibernate event, SystemSettings.ScreenOrientation

Per Windows Mobile 5.0 (compilati per CF 1.0)Per Windows Mobile 5.0 (compilati per CF 1.0)• Microsoft.WindowsMobileMicrosoft.WindowsMobile• Microsoft.WindowsMobile.ConfigurationMicrosoft.WindowsMobile.Configuration• Microsoft.WindowsMobile.FormsMicrosoft.WindowsMobile.Forms• Microsoft.WindowsMobile.PocketOutlookMicrosoft.WindowsMobile.PocketOutlook• Microsoft.WindowsMobile.StatusMicrosoft.WindowsMobile.Status• Microsoft.WindowsMobile.TelephonyMicrosoft.WindowsMobile.Telephony