“博鱼·体育”WindowsMobile开发者新手上路指南
Part1.研发环境的搭起 软件加装顺序: 1.加装MicrosoftActiveSync4.0以上版本 2.加装VS2005 研发PocketPC须要加装WindowsMobile5.0PocketPCSDK 研发Smartphone须要加装WindowsMobile5.0SmartphoneSDK Mobile5.0环境配备: 1.模拟器与MicrosoftActiveSync实时: A.启动VS2005,在Tools-》DeviceEmulatorManager,自由选择一个必须启动的模拟器,双击或者按右键,自由选择Connect,即启动模拟器。 B.当模拟器启动后,在DeviceEmulatorManager中,右键该设备,自由选择Cradle,才可与MicrosoftActiveSync实时。 2.模拟器网际网路: 启动模拟器后,只要PC机相连网络,仿真设备即能网际网路。 3.有可能经常出现模拟器与MicrosoftActiveSync无法实时的现象,这种情况很有可能再次发生,经常出现该情况,可以重开VS2005,重开DeviceEmulatorManager,然后再行重新启动才可。
Mobile5.0最初的研发程序: 在PocketPc上新建1个应用程序: 在File-》New-》Project中可以自由选择PocketPC或者Smartphone的DeviceApplication 项目新建以后所看见的Form的界面是和现实设备的界面完全一致。 在Form上摆放1个TextBox后,将值改为PocketPC,运营该程序 在PocketPc右上角的有2种按钮,叉和ok,叉代表最小化,ok代表重开。最小化程序不会使得程序闲置内存,在此实在微软公司的操作系统获取的程序有些都是最小化,没获释内存,不会使得系统就越跑完越慢。
将最小化变成ok,通过设置form的属性MinimizeBox,true为最小化按钮,false为ok按钮。 在Smartphone中没上述的变化,在Smartphone中,如果不加到menu中的事件来完结程序的话,那程序一直不会以最小化方式保有在系统内部。
变更应用程序的平台: 自由选择project,右键,在菜单中选择ChangeTargetPlatform 在自由选择平台中,自由选择一个你想要转变的平台,按OK才可 录:PocketPc和SmartPhone平台改成后,要变更下列内容: 1.控件的大小 2.某些特定控件在SmartPhone中不反对,如Button 3.某些托管地API。SmartPhone中,所反对的API没PocketPC多 研发Mobile必须留意: 由于是基于移动设备的,所以无论cpu还是内存来说,都和PC有相当大差距,所以拒绝消耗较较少的内存支出,另外比起PC来说,所反对的API是非常少的,必须常常查SDK。
Part2.开发工具与资源iTunes 1)SoftwareDevelopmentKit WindowsMobile2003SDKforPocketPC(必要iTunes) WindowsMobile2003SDKforSmartphone WindowsMobile5.0SDKforPocketPC(必要iTunes) WindowsMobile5.0SDKforSmartphone WindowsMobile6SDK WindowsCE5.0:StandardSoftwareDevelopmentKit(SDK) 2).NETCompactFramework .NETCompactFramework1.0SP3Redistributable .NETCompactFramework2.0ServicePack1Redistributable .NETCompactFramework2.0ServicePack1Patch .NETCompactFramework2.0ServicePack2Redistributable .NETCompactFramework3.5Redistributable PowerToysfor.NETCompactFramework3.5 3)SQLServerCE SQLServerCE2.0ServerToolsSP4 SQLServer2005CompactEdition SQLServer2005CompactEditionToolsforVisualStudio2005ServicePack1 SQLServer2005CompactEditionServerTools SQLServer2005CompactEditionBooksOnline(March2007) SQLServer2005CompactEditionAccessDatabaseSynchronizer SQLServerCompact3.5forWindowsDesktop SQLServerCompact3.5BooksOnlineandSamples SynchronizationServicesforADO.NETBooksOnline ADOCE3.1forWindows3.0SDKs 4)DeviceEmulator StandaloneDeviceEmulator1.0withWindowsMobileOSImages MicrosoftDeviceEmulator2.0Standalone MicrosoftDeviceEmulator3.0Standalone VirtualMachineNetworkDriverforMicrosoftDeviceEmulator MicrosoftWindowsCE5.0DeviceEmulator 5)EmulatorImage EmulatorImagesforWindowsMobile2003-basedPocketPCDevelopment EmulatorImagesforWindowsMobile2003-basedSmartphoneDevelopment EmulatorImagesforWindowsMobile2003SecondEdition-basedPocketPCDevelopment EmulatorImagesforWindowsMobile2003SecondEdition-basedSmartphoneDevelopment LocalizedWindowsMobile5.0PocketPCEmulatorImages LocalizedWindowsMobile5.0SmartphoneEmulatorImages 6)eMbeddedVisualC++ eMbeddedVisualC++4.0 eMbeddedVisualC++4.0SP4 7)OpenNETCF OpenNETCFSmartDeviceFrameworkv1.4 OpenNETCFSmartDeviceFrameworkv2.0 8)MobileClientSoftwareFactory MobileClientSoftwareFactoryJuly2006 ArchitectureOverviewforMobileApplications UIDesignConsiderationsinMobileApplications DesigningMobileApplicationsinanOccasionally-ConnectedWorld 9)OtherTools MicrosoftWindowsMobileDeviceCenter6.1forWindowsVista(32-bit) MicrosoftWindowsMobileDeviceCenter6.1forWindowsVista(64-bit) MicrosoftActiveSync4.5 RedistributableServerComponentsforWindowsMobile5.0 DeviceSecurityManagerPowerToyforWindowsMobile5.0 WindowsMobileNetworkAnalyzerPowerToy MicrosoftSmartDevicesRemoteToolsFrameworkPowertoy1.0 WindowsMobileDeveloperPowerToys 10)Resources WindowsMobile5.0DeveloperResourceKit MicrosoftMobileEmbeddedDevCon2006DVD WindowsMobilityMarvels MobileLineofBusinessSolutionAcceleratorkit Part3.新手StarterKits Starterkits: /en-us/windowsmobile/bb264330.aspx Videoresource: /en-us/windowsmobile/bb264341.。
本文关键词:博鱼(boyu·中国),BOYU SPORTS,博鱼·体育
本文来源:博鱼(boyu·中国)-www.haru-paint.com