Windows Phone Application Development

32
Application Development Jaliya Udagedara MVP (Visual C#)

description

 

Transcript of Windows Phone Application Development

Page 1: Windows Phone Application Development

Application Development

Jaliya UdagedaraMVP (Visual C#)

Page 2: Windows Phone Application Development

What are we going to discuss today?Current Day TechnologiesWindows PhoneWindows Runtime AppsWindows Phone 8.1 App Development

Required ToolsProgramming Languages

Windows Phone 8.1 FeaturesVisual Studio FeaturesDemo

Page 3: Windows Phone Application Development

Current Day TechnologiesWindows 8.1 Update 1Windows Phone 8.1.NET 4.5.2 / C# 5.0 (C# 6.0 Preview)Visual Studio 2013 Update 2 (Update 3 RC)

2014May 12 - Visual Studio 2013 Update 2 RTMApril 2 - Visual Studio 2013 Update 2 RCJanuary 20 - Visual Studio 2013 Update 1

2013October 17 - Visual Studio 2013

Page 4: Windows Phone Application Development

Windows Phone

Page 5: Windows Phone Application Development

Shared User Experience

Page 6: Windows Phone Application Development

Windows Phone App Store

More than 400,000 Apps

Page 7: Windows Phone Application Development

Windows Runtime Apps

Page 8: Windows Phone Application Development

Windows Runtime AppsWindows Phone 8.1 introduces a change in the Windows Phone developer ecosystemWindows Phone converges with the Windows Store apps platform into a single developer platform that runs the same type of apps

Windows Runtime Apps

Page 9: Windows Phone Application Development

Areas of convergenceApp model and app life cycle

Same execution statesSame events to handle launch, activation and suspension

Manifest, Build, DeploymentSame Windows Store apps .appx bundle deployment formatsSame manifest file format of Windows Store apps

XAMLWindows Phone 8 : XAML is from a different namespace than

Windows Store appsWindows Phone 8.1 : XAML UI framework is same as in

Windows Store apps

Page 10: Windows Phone Application Development

Windows Runtime API

Windows Runtime contains more than

90% of Windows Phone Runtime

Page 11: Windows Phone Application Development

App ArchitectureSupported Programming Languages

C# and Extensible Application Markup Language (XAML)Microsoft Visual Basic and XAMLJavaScript and HTML5Visual C++ component extensions (C++/CX) and XAMLC++/CX and Microsoft DirectX

App model architectureEach programming language has a corresponding app model

Page 12: Windows Phone Application Development

App Architecture contd.App model architecture

Each programming language has a corresponding app model. App model based on Entry point, Presentation technology etc.

Entry points

Page 13: Windows Phone Application Development

App Architecture contd.Presentation technologies

Page 14: Windows Phone Application Development

App Architecture contd.Assets

Page 15: Windows Phone Application Development

App Architecture contd.Asynchronous programming

Page 16: Windows Phone Application Development

Application lifecycle (Windows Runtime apps) 

Page 17: Windows Phone Application Development

Windows Phone 8/8.1 App Development

Page 18: Windows Phone Application Development

Required ToolsVisual StudioWindows Phone 8 : Visual Studio 2012 (Update 2 or later)Windows Phone 8.1 : Visual Studio 2013 (Update 2 or later)

By the way,Windows 8 : Visual Studio 2012 or higherWindows 8.1 : Visual Studio 2013 or higher

Page 19: Windows Phone Application Development

Required Tools contd.Windows Phone 8.1 Emulators

Six emulator imagesRequires

Visual Studio 2013 with Update 2 or laterWindows 8.1 (x64) Professional edition or higher

Processor that supports Client Hyper-V & Second Level Address Translation (SLAT).

Page 20: Windows Phone Application Development

Supported Programming Languages

All the languages which can be used in Windows Runtime App development are supported.

Page 21: Windows Phone Application Development

Windows Phone 8.1 featuresGeofencing

Your app can receive notifications when the device enters or leaves an app-specified geographic regionMedia

Same Media Foundation APIs in Windows Phone 8.1 as in Windows Store appsSD card access

Windows Phone 8 supports read-only access to the SD card; Windows Phone 8.1 provides read/write access

Page 22: Windows Phone Application Development

Windows Phone 8.1 features contd.External display support

Share screen from Windows Phone 8.1 device to a nearby device

And many more…

Visit, What's New in Windows Phone 8.1 for all the features.

Page 23: Windows Phone Application Development

Visual Studio FeaturesSo many templates for Windows Phone apps

Page 24: Windows Phone Application Development

Visual Studio Features contd.Universal App template - Came alive with Visual Studio 2013 Update 2

Page 25: Windows Phone Application Development

Visual Studio Features contd.Add Windows Phone 8.1 or Windows 8.1

Page 26: Windows Phone Application Development

Visual Studio Features contd.Context Switcher in the Editor

Page 27: Windows Phone Application Development

Visual Studio Features contd.Context Switcher in the XAML Editor

Page 28: Windows Phone Application Development

Visual Studio Features contd.Devices Window

Page 29: Windows Phone Application Development

Visual Studio Features contd.Switching Startup Projects

Page 30: Windows Phone Application Development

Demo• Windows Phone 8.1

Application• Universal App

Page 31: Windows Phone Application Development

SummaryCurrent Day TechnologiesWindows PhoneWindows Runtime AppsWindows Phone 8.1 App Development

Required ToolsProgramming Languages

Windows Phone 8.1 FeaturesVisual Studio FeaturesDemo

Page 32: Windows Phone Application Development

Thank You!http://www.jaliyaudagedara.blogspot.com/