1 / 22

Essentials of Developing Windows Phone Apps

Essentials of Developing Windows Phone Apps. Chinthaka Dissanayake Tech Lead Exilesoft. Is it difficult to become a WP Developer??. Runtime APIs. Web Developers. Windows Developers. One Windows for All. Shared Dev registration Shared Entitlement. Core Platform. Development Platform.

drake-ayers
Download Presentation

Essentials of Developing Windows Phone Apps

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. Essentials of Developing Windows Phone Apps Chinthaka Dissanayake Tech Lead Exilesoft

  2. Is it difficult to become a WP Developer?? Runtime APIs Web Developers Windows Developers

  3. One Windows for All • Shared Dev registration • Shared Entitlement Core Platform Development Platform • More skillset Reuse • More code reuse • More seamless app experiences • Proximity and Location Frameworks • Security and Identity • Task Scheduler 90%+

  4. Windows Developer Platform Windows Phone Silverlight (C#/VB) WinJS (HTML + JS) Windows XAML (C#/VB/C++) DirectX (C++) Services App Model Store Navigation Push Windows Runtime API Set Packaging Commerce Media Audio Graphics Roaming Contracts App Data Backup Sensors Input File System Networking Background Windows Runtime (WinRT) .NET CLR Windows Kernel

  5. Getting Windows Phone 8.1 • New Devices sold into market from July 2014 will have Windows Phone 8.1 pre-installed • All devices running Windows Phone 8.0 are capable of being upgraded to Windows Phone 8.1 • Availability of upgrades for devices is under the control of the Mobile Operator • Registered developers can upgrade their phone through the “Preview for Developers” Program • http://dev.windowsphone.com • http://appstudio.windowsphone.com https://dev.windowsphone.com/en-us/develop/devpreview

  6. Development PC requirements • Supported Operating Systems • Windows 8.1 (X86 or X64) • Hardware • 4GB of Disk Space • 1.5GB of RAM • 64 bit Motherboard • To use Windows Phone Emulators • Windows 8.1 Pro or Higher (for Hyper-V) • Second Level Address Translation • Min 4GB RAM

  7. Development Choices

  8. Design Principles • Content, NOT Chrome • Alive and in Motion • Clean, Light, Open and Fast • Celebrate Typography • Windows 8 UI Guidelines http://msdn.microsoft.com/en-us/library/windows/apps/hh465424.aspx

  9. MVVM • Stands for Model-View-ViewModel • Architectural Pattern that employs Data binding and strict Separation of Concerns ViewModel Commands Binding View Model See : http://msdn.microsoft.com/en-us/library/hh821028.aspx

  10. Let’s Develop a Real App

  11. How data binding Works ViewModel View Property : ItemName: Value = “Meetup” <TextBlock Text={Binding ItemName} ToDoItemsPage.XAML ToDoItemsViewModel : INotifyPropertyChanged <ToDoItemsPage DataContext= ToDoItemsViewModel> PropertyChanged Subscribesto

  12. Application Lifecycle, Why ? • Phone Resources are scarce • OS Runs one foreground app at a time • Other apps are suspended and/or terminated • OS has many mechanisms for an app to appear ‘alive’ • OS has controlled mechanisms for background code

  13. Application Lifecycle Use Suspending and OnLaunched States to save and restore state Activated App sent to background App activated (User or contract) Running OS Preserves the Status Suspending Resuming Suspended Request app in foreground Not running OS reclaims system resources Save State during Suspending Can we debug these State Transitions ?

  14. Manifest, Device Capabilities and App Packaging • Describes your Application • Display Name • Entry Point / Navigation Page • App Icon/Images tiles and Logos • Capabilities • Requirements • Demo

  15. Testing – Windows App Certification Kit (WACK) • Create App Package via Visual Studio • Run WACK and selected the created AppX • Select tests to be run • Output is an XML file that can be opened in a browser to analyze result • Demo

  16. Windows Phone Store • Only way you can put executable content into Windows Phone • Users can buy applications and deploy them onto their devices • Developers can unlock their own devices for testing

  17. Joining the Store • How to become a Publisher • $19/Year for individual registrations • $99/Year for companies • Options for Students • DreamSpark • MSDN Benefits • Join at • http://dev.windowsphone.com • http://dev.windows.com

  18. Monetization Options • Paid App • Paid App with free trial • Time limited Trial • Feature limited Trial • Paid/Free App with in-app purchase • Free App with Ads • Microsoft Ads SDK • Third party ad SDKs or Product Rotators • Free App

  19. Developer Portal and App Submission • Shared Identity Apps • Customer gets app and Entitlements across Windows and Phone • Roaming data enabled across Windows and Phone • Single Push Notification Channel

  20. What's Next ?

  21. Questions ?

  22. Summary Development Choices Data Binding Architecture and Design UI Design Packaging Lifecycle Store Submission Monetization Testing Universal Apps

More Related