mob02 windows phone 8.1 app development

51
Template designed by Introducing the Windows Phone 8.1 App Development Platform Lorenzo Barbieri [email protected] @_geniodelmale Template designed by

Upload: dotnetcampus

Post on 24-May-2015

302 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Mob02   windows phone 8.1 app development

Template designed by

Introducing the Windows Phone 8.1

App Development Platform

Lorenzo Barbieri

[email protected]

@_geniodelmale

Template designed by

Page 2: Mob02   windows phone 8.1 app development

Template designed by

brought to you by

Page 3: Mob02   windows phone 8.1 app development

3

Page 5: Mob02   windows phone 8.1 app development

5

Page 6: Mob02   windows phone 8.1 app development

6

Page 7: Mob02   windows phone 8.1 app development

7

Page 8: Mob02   windows phone 8.1 app development

Decrease HW cost floor (support 8x26, Qualcomm Reference Design)

Dual-SIM support

Apps to help you get more out of your data plan: DataSense 2.0, Wi-Fi Sense, Storage Sense, Battery Sense

8

Page 9: Mob02   windows phone 8.1 app development

9

Page 10: Mob02   windows phone 8.1 app development

http://dev.windowsphone.com

http://appstudio.windowsphone.com

10

Page 11: Mob02   windows phone 8.1 app development

11

Page 12: Mob02   windows phone 8.1 app development

12

Page 13: Mob02   windows phone 8.1 app development

13

Windows 8.1 provides developers with a shared platform that renders the right app experience for the right form-factor

Apps come to life on Windows• Live tile improvements

• Action Center for smart notifications

• Background execution + triggers

• Bluetooth-LE support for wearables + beacons

• Internet Explorer 11 improvements

Designed once; engaging everywhere• Converged developer platform

• Converged app model

• Shared app identities + entitlement

• Unified push services (via WNS)

Page 14: Mob02   windows phone 8.1 app development

14

Windows Phone 7.5 Windows Phone 8.0

Convergence Begins with IE

• WP 7.5 shipped with IE9

• Same rendering engine as

Windows

• Same JavaScript engine as

Windows

Converged Core (NT kernel)

• Common kernel & file system

• Kernel mode driver framework

• Secure boot & storage

encryption (BitLocker)

• Core networking stack

Developer Platform

• Partial API convergence

(focus on sensors & IAP)

• Native Code (C++) and DirectX

• IE10

Converging the Dev Platform

• More skillset reuse

• More code reuse

• More seamless app experiences

Aligning the Stores

• Shared dev registration

• Shared entitlement

Common Core Platform

• Proximity & Location frameworks

• Security & identity

• Task scheduler

Page 15: Mob02   windows phone 8.1 app development

15

The Windows Runtime (WinRT) is the shared runtime and API space used by store apps across the Windows platform (phone and client)

Dramatic convergence in 8.1• Goal is 100% convergence for dev scenarios

• In 8.0, we had ~30% API convergence

• With 8.1, we move well past 90%+ convergence

Page 16: Mob02   windows phone 8.1 app development

16

| |

Legend

Page 18: Mob02   windows phone 8.1 app development

19

Page 19: Mob02   windows phone 8.1 app development

• One Visual Studio ‘Universal app’ project template for your app

• Shared dev and test tooling for both platforms

20

Page 20: Mob02   windows phone 8.1 app development

21

Page 21: Mob02   windows phone 8.1 app development

Provides a common layout coordinate system that extends along the x and y axis into infinity, allowing you to scale up

22

10”

tablet

7” tablet

6”

5”

4.5”

Infinite virtual canvas

166 Logical DPI

Page 22: Mob02   windows phone 8.1 app development

23

80% exact same XAML 20% custom

Common SignatureOptimized

DatePicker

TimePicker

CommandBar

AppBar

Button

CheckBox

RadioButton ProgressBar

Slider

ToggleSwitchHub

Pivot

ListView

GridView

Page 23: Mob02   windows phone 8.1 app development

24

On Windows Phone 8.1 … and on Windows 8.1

Page 24: Mob02   windows phone 8.1 app development

25

Page 25: Mob02   windows phone 8.1 app development

26

Task

TimeTriggerPUSH

Notification

LocationTrigger

PushNotificationTrigger

MaintenanceTrigger

InternetAvailable NetworkStateChange

TimeZoneChange

Page 26: Mob02   windows phone 8.1 app development

27

Windows Notification Service

(WNS)

• Shared push service for Windows +

Phone

• Improved queuing to limit lost

notifications due to intermittent

network connectivity

Tile templates + toasts

• Shared tile templates (more!)

• Periodic tile updates

• Toasts

Page 27: Mob02   windows phone 8.1 app development

Action Center• Central location to surface

missed notifications

• Apps can intelligently manage notifications (silently add, update, and delete notifications)

28

Page 28: Mob02   windows phone 8.1 app development

Device B

WP 8.1 – PFN 12345

Roaming LocalLocal

CacheTemp

Device A

WP 8.1 App

Roaming LocalLocal

CacheTemp

Backup [Device A]

Page 29: Mob02   windows phone 8.1 app development

30

Page 30: Mob02   windows phone 8.1 app development

31

Page 31: Mob02   windows phone 8.1 app development

32

Page 32: Mob02   windows phone 8.1 app development

Anna beats a level, with top

score!

The app asks her if she wants

to share this with her

friends? She says – “yes

please!”

Congratulations!

Shall we share this?Share on:

Anna is playing her favorite

game. The level is almost

over, and Anna could break

her record. The application

starts recording the screen.

The application uploads the

MP4 file, which was

automatically transcoded to a

VGA resolution for quick

uploading, to a website for

sharing.

Page 33: Mob02   windows phone 8.1 app development

35

Page 34: Mob02   windows phone 8.1 app development

36

Page 35: Mob02   windows phone 8.1 app development

37

Page 36: Mob02   windows phone 8.1 app development

Internet Explorer 11 brings more life to the mobile web via better HTML5 support

38

Ability to code pinning behavior• Specify high-resolution site icons

• Live tiles using notifications

Professional quality video• Adaptive streaming

• Secure viewing

• Accessibility improvements

WebGL supportWeb spec based on OpenGL ES 2.0, to enable use of low-level

3D graphics APIs on web sites and HTML-based apps

Rich user interactions• Screen + device orientation APIs

• Pre-fetch and pre-render

Page 37: Mob02   windows phone 8.1 app development

39

Page 38: Mob02   windows phone 8.1 app development

40

Page 39: Mob02   windows phone 8.1 app development

41

Page 40: Mob02   windows phone 8.1 app development

42

Page 41: Mob02   windows phone 8.1 app development

43

Page 42: Mob02   windows phone 8.1 app development

http://dev.windows.com http://dev.windowsphone.com

44

Page 43: Mob02   windows phone 8.1 app development

Supported operating systems Windows 8.1 (x86 or x64)

Hardware

4 GB of free disk space

1.5 GB of RAM (recommended)

64-bit (x64) motherboard

To use the Windows Phone Emulators

Windows 8.1 Pro or higher (for Hyper-V)

and Second Level Address Translation

(SLAT)

Min 4GB RAM

Page 44: Mob02   windows phone 8.1 app development

46

Page 45: Mob02   windows phone 8.1 app development

47

Page 47: Mob02   windows phone 8.1 app development

49

Approach Pros & Cons

Keep using Silverlight 7.x/8

(Windows Phone 8 platform)

Pros Will run on Windows Phone 8.1 (app compatibility), still runs

on earlier Windows Phone devices

Cons Will not take advantage of new platform capabilities

Will not enable targeting of Windows

Use Silverlight 8.1

(Move Silverlight app into new execution

stack and app package)

Pros Enables existing Silverlight apps to take advantage of nearly all

new APIs and platform capabilities

Cons Will not enable targeting of Windows

Will not run on Windows Phone 8 devices

Use Windows XAML platform

Pros

Enables targeting of Windows and Windows Phone

Takes full advantage of new APIs and platform capabilities

Better performance & reduced memory use

Cons Will not run on Windows Phone 8 devices

Page 48: Mob02   windows phone 8.1 app development

52

Page 49: Mob02   windows phone 8.1 app development

53

Page 50: Mob02   windows phone 8.1 app development

Primary features:

Existing Windows Phone 8 apps run flawlessly

Windows Runtime XAML platform and HTML/WinJS support brings convergence with Windows 8.1,

and is faster and uses less memory than Silverlight

The core of an app can be built once for Windows and Windows Phone; you can share elements of

UI, though it’s best to tailor the user experience for each platform

Convergence is not just in the developer platform: it spans tools, store, commerce

Developer investment in the existing Silverlight platform is protected: Existing Silverlight apps can

be upgraded to access new Windows Phone 8.1 platform capabilities

Page 51: Mob02   windows phone 8.1 app development

Template designed by

Domande?Lorenzo Barbieri

[email protected]

@_geniodelmale

Template designed by