Windows Phone 7<br />Li Jingnan / Wang Tao<br />2011-7-15<br />1<br />
2 days<br />2<br />
about<br />anytao| Ethos<br /><ethos:Member<br />   id = “Wang Tao”<br />   msn = anytao@live.com<br />weibo = http://weib...
about<br />http://book.anytao.net<br />
01 introduction<br />Wang Tao / 2011-07-15<br />
session outline<br />overview<br />setting up your system<br />overview<br />90s for your first app<br />architecture<br /...
三分天下<br />7<br />
8<br />7<br />Windows phone <br />
who you are?<br />9<br />wp7<br />siverlight<br />programmer<br />.net<br />phone developer<br />iOS, Andriod<br />
90s for your first wp7 app<br />10<br />
Hardware Foundation<br />11<br />Windows PhoneHardware<br />Hardware<br />Platform<br />Quality<br />800 or 480<br />Defin...
Hardware<br />Multimedia<br />Codec acceleration<br />Display<br />480x800 QVGA<br />Other resolutions in the future<br />...
Tools<br />Runtime – On “Screen”<br />Phone Emulator<br />Sensors<br />Media<br />Data<br />Location<br />Samples<br />Doc...
XNA & Silverlight<br />Using XNA Shared Graphics<br />in the same app…<br />14<br />
two favors of apps<br /><ul><li>High 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 web</li></ul>15<br />
architecture<br />16<br />
common platform capabilities<br />17<br />
tools investments<br />18<br />
integrating with the phone<br />19<br />
expanding the phone framework<br />20<br />
developer tools<br />21<br />
marketplace<br />Enhanced discovery<br />easy to find great applications, games, and so on<br />fun to browse the marketpl...
development options<br />silverlight developer<br />game developer<br />Windows Mobile developer<br />.net developer<br />...
becoming a developer<br />get developer tools<br />build silverlight/XNA framework app<br />register and publish in zune<b...
build WP app by Visual Studio<br />create solution <br />solution structure<br />files in WP project<br />25<br />
Silverlight  app structure<br />26<br />
Silverlight  for Windows  Phone files<br />27<br />
compile and debug<br />compile<br />Output window<br />Error List window<br />run emulator<br />end debugging<br />28<br />
UI design<br />design view<br />layout control<br />UI effect<br />29<br />
UI event<br />click event<br />handle event<br />BannerTextBlock.Text = MessageTextBox.Text;<br />MessageTextBox.Text = St...
Upcoming SlideShare
Loading in …5
×

01 wp7 introduction

2,305 views
2,244 views

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,305
On SlideShare
0
From Embeds
0
Number of Embeds
803
Actions
Shares
0
Downloads
48
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 相同的触摸输入统一的处理器/GPU相同大小的RAM可选硬件键盘
  • 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.
  • 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应用程序的配置文件
  • 模拟器快捷键:F1 返回F2开始F3 搜索F9 调大音量F10 调小音量PAUSE/BREAK使用键盘PAGE UP使用键盘PAGE DOWN禁用键盘
  • http://www.wpmind.com/dev/2011/05/26/whats-new-in-mango-for-dev-1.html
  • 01 wp7 introduction

    1. 1. Windows Phone 7<br />Li Jingnan / Wang Tao<br />2011-7-15<br />1<br />
    2. 2. 2 days<br />2<br />
    3. 3. about<br />anytao| Ethos<br /><ethos:Member<br /> id = “Wang Tao”<br /> msn = anytao@live.com<br />weibo = http://weibo.com/anytao<br />runat = “Senior System Architect”<br />/><br />Jason | Ethos<br /><ethos:Member<br /> id = “Li Jingnan”<br /> msn = zengnami@hotmail.com<br />weibo= http://weibo.com/jn1981<br />runat = “SE”<br />/><br />
    4. 4. about<br />http://book.anytao.net<br />
    5. 5. 01 introduction<br />Wang Tao / 2011-07-15<br />
    6. 6. session outline<br />overview<br />setting up your system<br />overview<br />90s for your first app<br />architecture<br />developer<br />marketplace<br />development options<br />becoming a developer<br />silverlight<br />overview<br />Visual Studio<br />emulator<br />creating WP applications<br />querying contacts<br />querying appointments<br />What’s new?<br />
    7. 7. 三分天下<br />7<br />
    8. 8. 8<br />7<br />Windows phone <br />
    9. 9. who you are?<br />9<br />wp7<br />siverlight<br />programmer<br />.net<br />phone developer<br />iOS, Andriod<br />
    10. 10. 90s for your first wp7 app<br />10<br />
    11. 11. Hardware Foundation<br />11<br />Windows PhoneHardware<br />Hardware<br />Platform<br />Quality<br />800 or 480<br />Defined hardware by Microsoft:<br />Same touch input<br />Unified CPU/GPU<br />Same RAM<br />Keyboard optional<br />480 or 320<br />
    12. 12. Hardware<br />Multimedia<br />Codec acceleration<br />Display<br />480x800 QVGA<br />Other resolutions in the future<br />Capacitive touch<br />4+ contact points<br />Memory<br />256MB RAM or more<br />8GB Flash or more<br />Sensors<br />A-GPS, Accelerometer, Compass, Light<br />GPU<br />DirectX 9 acceleration<br />Camera<br />5+ megapixels<br />CPU<br />ARMv7<br />Hardware buttons<br />Start, Search, Back<br />12<br />
    13. 13. Tools<br />Runtime – On “Screen”<br />Phone Emulator<br />Sensors<br />Media<br />Data<br />Location<br />Samples<br />Documentation<br />Xbox LIVE<br />Notifications<br />Phone<br />Guides<br />Community<br />.NET Framework managed code sandbox<br />Packaging and Verification Tools<br />SCREEN<br />13<br />CLOUD<br />Portal Services<br />Cloud Services<br />Notifications<br />App Deployment<br />Registration<br />Marketplace<br />Validation<br />MO and CC Billing<br />Location<br />Identity<br />Feeds<br />Certification<br />Business Intelligence<br />Maps<br />Social<br />Publishing<br />Update Management<br />
    14. 14. XNA & Silverlight<br />Using XNA Shared Graphics<br />in the same app…<br />14<br />
    15. 15. two favors of apps<br /><ul><li>High performance game framework
    16. 16. Rapid creation of multi-screen 2D and 3D games
    17. 17. Rich content pipeline
    18. 18. Mature, robust, widely adopted technology spanning Xbox 360, Windows, and Zune
    19. 19. Modern XAML/event-driven application UI framework
    20. 20. Rapid creation of visually stunning apps
    21. 21. Metro-themed UI controls
    22. 22. HTML/JavaScript
    23. 23. 500,000 developers spanning Windows and web</li></ul>15<br />
    24. 24. architecture<br />16<br />
    25. 25. common platform capabilities<br />17<br />
    26. 26. tools investments<br />18<br />
    27. 27. integrating with the phone<br />19<br />
    28. 28. expanding the phone framework<br />20<br />
    29. 29. developer tools<br />21<br />
    30. 30. marketplace<br />Enhanced discovery<br />easy to find great applications, games, and so on<br />fun to browse the marketplace<br />Simple, reliable<br />try before you buy<br />payment flexibility<br />easy app update<br />22<br />
    31. 31. development options<br />silverlight developer<br />game developer<br />Windows Mobile developer<br />.net developer<br />23<br />
    32. 32. becoming a developer<br />get developer tools<br />build silverlight/XNA framework app<br />register and publish in zune<br />distribute your app<br />24<br />
    33. 33. build WP app by Visual Studio<br />create solution <br />solution structure<br />files in WP project<br />25<br />
    34. 34. Silverlight app structure<br />26<br />
    35. 35. Silverlight for Windows Phone files<br />27<br />
    36. 36. compile and debug<br />compile<br />Output window<br />Error List window<br />run emulator<br />end debugging<br />28<br />
    37. 37. UI design<br />design view<br />layout control<br />UI effect<br />29<br />
    38. 38. UI event<br />click event<br />handle event<br />BannerTextBlock.Text = MessageTextBox.Text;<br />MessageTextBox.Text = String.Empty;<br />30<br />
    39. 39. debug<br />set break point<br />emulator<br />quick key<br />skills<br />check variables<br />31<br />
    40. 40. developer tools<br />VS 2010 for WP<br />WP emulator<br />Expression blend for WP<br />XNA game studio 4.0<br />single free download<br />32<br />
    41. 41. demo<br />33<br />/ first app<br />/ visual studio <br />/ emulator<br />/ design <br />/ debug <br />/ expression blend <br />/ marketplace<br />/ zune<br />/ query contact & appointments<br />01 dev WP app by visual studio<br />
    42. 42. what’s new?<br />34<br />
    43. 43. develop for phone<br />35<br />game<br />UX<br />performance<br />storage<br />design<br />network<br />MVVM<br />data<br />xna<br />service<br />
    44. 44. develop for phone<br />36<br />
    45. 45. practice<br />37<br />your first wp7 app<br />
    46. 46. thank youwww.anytao.com<br />38<br />
    47. 47. 39<br />

    ×