Windows Phone 7Li Jingnan / Wang Tao2011-7-151
2 days2
aboutanytao| Ethos<ethos:Member   id = “Wang Tao”   msn = anytao@live.comweibo = http://weibo.com/anytaorunat = “Senior System Architect”/>Jason | Ethos<ethos:Member   id = “Li Jingnan”   msn = zengnami@hotmail.comweibo= http://weibo.com/jn1981runat = “SE”/>
abouthttp://book.anytao.net
01 introductionWang Tao / 2011-07-15
session outlineoverviewsetting up your systemoverview90s for your first apparchitecturedevelopermarketplacedevelopment optionsbecoming a developersilverlightoverviewVisual Studioemulatorcreating WP applicationsquerying contactsquerying appointmentsWhat’s new?
三分天下7
87Windows phone
who you are?9wp7siverlightprogrammer.netphone developeriOS, Andriod
90s for your first wp7 app10
Hardware Foundation11Windows PhoneHardwareHardwarePlatformQuality800 or 480Defined hardware by Microsoft:Same touch inputUnified CPU/GPUSame RAMKeyboard optional480 or 320
HardwareMultimediaCodec accelerationDisplay480x800 QVGAOther resolutions in the futureCapacitive touch4+ contact pointsMemory256MB RAM or more8GB Flash or moreSensorsA-GPS, Accelerometer, Compass, LightGPUDirectX 9 accelerationCamera5+ megapixelsCPUARMv7Hardware buttonsStart, Search, Back12
ToolsRuntime – On “Screen”Phone EmulatorSensorsMediaDataLocationSamplesDocumentationXbox LIVENotificationsPhoneGuidesCommunity.NET Framework managed code sandboxPackaging and Verification ToolsSCREEN13CLOUDPortal ServicesCloud ServicesNotificationsApp DeploymentRegistrationMarketplaceValidationMO and CC BillingLocationIdentityFeedsCertificationBusiness IntelligenceMapsSocialPublishingUpdate Management
XNA & SilverlightUsing XNA Shared Graphicsin the same app…14
two favors of appsHigh performance game framework
Rapid creation of multi-screen 2D and 3D games
Rich content pipeline
Mature, robust, widely adopted technology spanning Xbox 360, Windows, and Zune
Modern XAML/event-driven application UI framework
Rapid creation of visually stunning apps
Metro-themed UI controls
HTML/JavaScript
500,000 developers spanning Windows and web15
architecture16
common platform capabilities17
tools investments18
integrating with the phone19
expanding the phone framework20
developer tools21
marketplaceEnhanced discoveryeasy to find great applications, games, and so onfun to browse the marketplaceSimple, reliabletry before you buypayment flexibilityeasy app update22
development optionssilverlight developergame developerWindows Mobile developer.net developer23
becoming a developerget developer toolsbuild silverlight/XNA framework appregister and publish in zunedistribute your app24
build WP app by Visual Studiocreate solution solution structurefiles in WP project25
Silverlight  app structure26
Silverlight  for Windows  Phone files27
compile and debugcompileOutput windowError List windowrun emulatorend debugging28
UI designdesign viewlayout controlUI effect29
UI eventclick eventhandle eventBannerTextBlock.Text = MessageTextBox.Text;MessageTextBox.Text = String.Empty;30

01 wp7 introduction

Editor's Notes

  • #12 相同的触摸输入统一的处理器/GPU相同大小的RAM可选硬件键盘
  • #15 I’m excited to say that in Mango, we’re adding a new set of features that should bridge a lot of these gaps for both the app developer and game developer. We’re exposing a mechanism to allow you to use XNA Graphics capabilities within Silverlight applications.
  • #16 App.xaml/App.xaml.cs:定义应用程序入口点MainPage.xaml/MainPage.xaml.cs:定义应用程序主界面ApplicationIcon.png:应用程序列表中的程序图标Background.png:开始界面图标SplashScreenImage.jpg:进入应用程序前的屏幕显示图片Properties\\AppManifest.xm:应用配置文件Properties\\AssemblyInfo.cs:包含嵌入到生成的程序集中元数据的名称和版本Properties\\WMAppManifest.xml:Windows Phone应用程序的配置文件
  • #22 模拟器快捷键:F1 返回F2开始F3 搜索F9 调大音量F10 调小音量PAUSE/BREAK使用键盘PAGE UP使用键盘PAGE DOWN禁用键盘
  • #35 http://www.wpmind.com/dev/2011/05/26/whats-new-in-mango-for-dev-1.html