1 / 58

Windows Phone: Introducing App Development

Windows Phone: Introducing App Development. Sam George Principal Group Program Manager Windows Phone App Platforms 2-201. Win a Nokia Lumia 928!. At the end of the session, we’ll be asking a question on something from the session Answer it first and correctly, and win a Nokia Lumia 928!.

treva
Télécharger la présentation

Windows Phone: Introducing App Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows Phone:Introducing App Development Sam George Principal Group Program Manager Windows Phone App Platforms 2-201

  2. Win a Nokia Lumia 928! At the end of the session, we’ll be asking a question on something from the session Answer it first and correctly, and win a Nokia Lumia 928!

  3. Agenda • Great News • Key Concepts for Getting Started • Demos

  4. Great News

  5. Amazing Momentum Since Launch Apps just in… Apps More Downloads 160k+ 200M Store available in 50 languages and 191 markets Monthly app downloads More Revenue 2.5x Increase in daily app revenue More developers 102k+ More apps 52k+ New registered developers New apps submitted with Windows Phone 8 SDK As of 6/21/13 Source: Windows Phone Store. Period: 10/30/12 – 5/31/13 Source: Windows Phone Store. Period: 10/30/12 - 1/31/13

  6. 42% of Windows Phone devices were • upgrades from “feature phone” to smartphone. • 4 billion “feature phone” customers worldwide still do not have a smartphone. • 23% of Windows Phone devices were bought by users upgrading from Android.

  7. Windows Phone is growing 6x faster than the overall smartphone market

  8. Let’s Get Started

  9. It Has Never Been Easier to Learn • We have an amazing amount of online training on all aspects of Windows Phone development • 40 hours of video or audio training! • Slides, video, audio, self-assessments

  10. Background Audio App to App Communication Design Principles XAML Pages & Navigation VoIP Files and Storage Video C++ Native Code Reuse We Have a Full Featured App Platform HTTP Networking C# Sockets Compass Camera App Model Bluetooth Application Lifecycle Lenses Background Agents Proximity File Associations Maps Location VB.NET Live Tiles Speech Wallet Launchers & Choosers Lock Screen Wallpaper In-App Purchase Data Lock Screen and Notifications Push Notifications Hubs DirectX Interop Trial Enterprise Controls DevCenter WebBrowser

  11. Today’s Talk:What You Need To Get Started • Dev Center & Tools • Design Principles • UI Framework & XAML • Controls • Pages & Navigation • Live Tiles • Launchers & Choosers • Web Content • Making Money • Build for Both

  12. Dev Center & Tools • Dev Center • Design Guidelines • Developer Tools & SDKs • Videos, Blogs, Samples, Publish • http://developer.windowsphone.com/ • Tools • Visual Studio, Blend, Emulator, Device Unlock, App Deploy, Store Test Kit

  13. DemoDev Center & Tools

  14. Topics • Dev Center & Tools • Design Principles • UI Framework & XAML • Controls • Pages & Navigation • Live Tiles • Launchers & Choosers • Web Content • Making Money • Build For Both

  15. Design Principles http://aka.ms/wpuxprinciples • Pride in craftsmanship • More with less • Fast and fluid • Authentically digital • Win as one

  16. To Learn More • PH 2-202: Windows Phone Design for Developers • Corrina Black • Happening right now (watch it on demand later) • North 135

  17. Topics • Dev Center & Tools • Design Principles • UI Framework & XAML • Controls • Pages & Navigation • Live Tiles • Launchers & Choosers • Web Content • Making Money • Build For Both

  18. UI Framework & XAML • UI Framework • Signature & Standard Controls • Layouts • Tree based • Retained mode / composited framework • Fully extensible • UserControl & Panel • Styling • Templating • Subclassing • XAML • eXtensible Application Markup Language • A declarative, markup-based language to define your user experience • Everything you can do in XAML you can do in code – it’s just easier in XAML. StackPanelstackPanel = newStackPanel(); TextBoxtextBox = newTextBox(); stackPanel.Children.Add(textBox); Buttonbutton = newButton(); stackPanel.Children.Add(button); <StackPanel> <TextBox/> <Button/> </StackPanel>

  19. Topics • Dev Center & Tools • Design Principles • UI Framework & XAML • Controls • Pages & Navigation • Live Tiles • Launchers & Choosers • Web Content • Making Money • Build For Both

  20. Controls • Reusable & Customizable • Embody the Windows Phone design principles • Signature Controls • Panorama, Pivot, LongListSelector, AppBar • Standard Controls • Map, WebBrowser, Ads, Intrinsic Controls (Button, TextBox, Grid, etc) • Toolkit Controls • DatePicker, TimePicker, Rating, AutoCompleteBox, etc

  21. Signature Controls: Panorama

  22. Signature Controls: Pivot

  23. Signature Controls: LongListSelector StickyHeaders JumpList Grid View

  24. DemoControls

  25. To Learn More • PH 2-208: Windows Phone UI in XAML • Shawn Oster • Today at 5PM, North 134

  26. Topics • Dev Center & Tools • Design Principles • UI Framework & XAML • Controls • Pages & Navigation • Live Tiles • Launchers & Choosers • Web Content • Making Money • Build For Both

  27. Pages & Navigation • Pages contain content • PhoneApplicationPage class and subclasses • Frame is the top level container control that performs navigation • PhoneApplicationFrame class • Apps navigate between pages, passing data between them • Similar to web page model: frame is browser, pages are content

  28. Pages & Navigation * * • *Screens • Transient UI the user does not navigate to • Shown in a Popup control by a Page.

  29. Page Navigation private void btnLongListSelector_Click(object sender, RoutedEventArgs e) { NavigationService.Navigate(newUri("/LongListSelectorPage.xaml", UriKind.Relative)); } • Each page identified by a URI • Each page is essentially stateless

  30. To Learn More • PH 2-204: Windows Phone App Foundation • Thomas Fennel • Today at 2PM, North 134

  31. Topics • Dev Center & Tools • Design Principles • UI Framework & XAML • Controls • Pages & Navigation • Live Tiles • Launchers & Choosers • Web Content • Making Money • Build For Both

  32. Windows Phone Live Tiles • Live Tiles provide glanceable access to information users care the most about • Live Tiles can be updated: • From within your app while it is running • As a scheduled task when your app is not running • In response to Push Notifications

  33. Windows Phone Live Tiles • All apps have at least one tile, known as the default tile • Created by user pinning your app to the Start Screen • Launches main app page • Apps can create additional (secondary) tiles • Created programmatically • Can launch to any page in your app • Static or Dynamic Content • Image / text Based • Apps can generate image from XAML content • In Windows Phone 8.0, you can support three different tile sizes

  34. Windows Phone 8 Supports Three Tile Templates • Flip • Flips from front to back • Similar to the WP 7.1 Tile template • Iconic • Clean iconic layout designed to reflect Windows Phone design principles • Cycle • Cycles through up to nine images

  35. DemoLive Tiles

  36. To Learn More • PH 2-206: Windows Phone Tiles, Lock and Notifications • Thomas Fennel • Thursday 11:30 am, North 134

  37. Topics • Dev Center & Tools • Design Principles • UI Framework & XAML • Controls • Pages & Navigation • Live Tiles • Launchers & Choosers • Web Content • Making Money • Build For Both

  38. Launchers & Choosers • Enables an app to reuse common functionality from the phone • Microsoft.Phone.Tasks • Launchers • Simply launches an experience, like the browser or a map • You pass data to the launcher, but it does not return data to your app • Choosers • Launches an experience to return data to your app, like a photo

  39. Launchers & Choosers

  40. DemoLaunchers & Choosers

  41. To Learn More • PH 2-204: Windows Phone App Foundation • Thomas Fennel • Today 2pm, North 134 • PH 2-212: Windows Phone Cross App Communications • Sean McKenna • Friday 2pm, South 222

  42. Topics • Dev Center & Tools • Design Principles • UI Framework & XAML • Controls • Pages & Navigation • Live Tiles • Launchers & Choosers • Web Content • Making Money • Build For Both

  43. Web Content • WebBrowser control • Standard XAML control • Embed in your app – can even “host” the entire app • IE10 Based • HTML5 support • Hardware accelerated • Built for touch

  44. IE10 Hardware-Accelerated Web Platform CSS 2D Transforms CSS 3D Transforms CSS Animations CSS Backgrounds & Borders CSS Color CSS Device Adaptation* CSS Flexbox* CSS Fonts CSS Grid* CSS Image Values (Gradients) CSS Media Queries CSS Multi-Column Layout* CSS Namespaces CSS OM Views CSS Regions And Exclusions* CSS Selectors CSS Transitions CSS Values And Units Data URI DOM Element Traversal DOM HTML DOM Level 3 Core DOM Level 3 Events DOM Style DOM Traversal And Range DOMParser And XMLSerializer ECMAScript 5 Formdata HTML5 Application Cache HTML5 Async Scripts HTML5 BlobBuilder HTML5 Canvas HTML5 Drag And Drop HTML5 Forms And Validation HTML5 Geolocation HTML5 History API HTML5 Parser HTML5 Sandbox HTML5 Selection HTML5 Semantic Elements HTML5 Video And Audio JavaScript Typed Array ICC Color Profiles IndexedDB Page Visibility Pointer (Mouse, Pen, And Touch) Events* RequestAnimationFrame Navigation Timing Selectors API Level 2 SVG Filter Effects SVG, Standalone And In HTML Web Messaging Web Sockets Web Workers XHTML/XML XHR (Level 2) XHR CORS

  45. DemoWeb Content

  46. Topics • Dev Center & Tools • Design Principles • UI Framework & XAML • Controls • Pages & Navigation • Live Tiles • Launchers & Choosers • Web Content • Making Money • Build For Both

  47. Making Money Trial -> Paid • Paid Apps In-App Purchase Ads

  48. Payment Methods: More Than iOS & Android • Leading Credit Cards • Mobile Operator Billing: • 3x greater sales than when only credit card is available • More Mobile Operator partners than Google Play • 30 Total! • Access to markets with low credit card penetration • Alipay & PayPal: • 10x purchases in China! • Paypal option vs Credit Card List of MOs: http://msdn.microsoft.com/library/windowsphone/help/jj215902(v=vs.105).aspx

  49. Tips on Making Money • Use Trial API or Freemium (IAP) • 70x more downloads, 7x more revenue • Use Live Tiles • Top 50 apps are 3.7x more likely to have Live Tiles • Use Push Notifications • Top 50 apps are 3.2x more likely to use these – keeps users engaged • Use Ad Control with Localization • More local relevance drives more clickthroughs • Follow the Windows Phone Design Principles • Conformant apps are featured in the store more frequently

  50. Tips on Making Money • Localize Your App • Language, currency, symbols • Publish Globally • Fastest growth occurring in new markets • Watch Your Memory Usage • Apps that use < 90MBs of memory work well on all devices – performance tools help • Act on Feedback • Prompt for reviews and feedback… and fix • Update Frequently • Top 50 apps are updated every 2-3 months

More Related