Windows 8 plataforma de desenvolvimento

Post on 23-Jun-2015

575 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

Conheça um pouco mais sobre a plataforma do Windows 8, veja o que há de novo e comece a desenvolver apps de sucesso

Transcript

Development Platform for Metro Style Apps

Vinícius Souza - @vbs_brEspecialista em DesenvolvimentoMicrosoft

Agenda

Languages

Q&A

Sensors

Windows 8 Platform

Windows Runtime

Push Notifications

Contracts

Windows 8 Platform

Windows 8 Platform

Metro style Apps

HTMLJavaScri

pt

CC++

C#VB

Desktop Apps

Win32

.NET / SL

Internet Explore

r

Communication

& Data

Application Model

Devices & Printing

WinRT APIsGraphics &

Media

Syst

em

Serv

ices

JavaScript(Chakra)

CC++

C#VB

XAML HTML / CSSVie

wM

od

el

Contr

olle

r

Windows Core OS ServicesCore

Metro style application APIs

Languages

You already have the skills to build Metro style apps with C# and VB

The C# code you have to write today...

The C# code you get to write on Windows 8

Windows Runtime Architecture

Language Projections

Languages

demo

Async

Asynchronous programming is becoming the norm

Synchronous vs. asynchronous

Asynchronous methods automatically transform normal code into a callback state machine

Asynchronous methods

App Execution Environment

Metro style app acquisition

Building blocks of an app package

App manifest and capabilities

Process Isolation

Process state transitions

App data vs. User data

Html Camera

demo

Contracts

Windows 8 Contracts

Search contract makes your app searchable from anywhere in the system

Implementing Search Add search declaration (manifest) Override Method OnSearchActivated

Sharing From Source to Target

demo

Sensors

Sensors & location platform Simple interfaces enable Metro style apps to adapt to the

surrounding environment

Sensor fusion opens up new possibilities for creating cutting edge experiences in Metro style apps

Windows 8 provides a consistent sensors and location hardware foundation

Windows 8 ensures consistency between different systems to ensure that apps just work

Basic app scenarios for sensors

Shake Rotate Flip

Light-aware apps – render for lighting

Dark Indoors Outdoors

Windows.Devices.Sensors NamespaceSimple Data

Simple Device Orientation

Sensor Fusion Data

Compass

Inclinometer

Device Orientation

Light Sensor

Accelerometer

Raw Sensor Data

Gyro

Sensor Fusion inputs and outputs (9-Axis)

3D Accelerometer

3D Gyro

3D Magnetometer

Pass-Through

Accelerometer

Gyro

Sensor Fusion

Compass

Inclinometer

Device Orientation

Cloud-connected

Notifications

Push Notification OverviewWindows 8 Cloud Service

Windows Notification

Service

Metro Style App

Notification

Client Platform

4

1 5

1. Send Request for Channel URI

2. NCP asks WNS to create a notification Channel

3. WNS returns a URI

4. App sends the URI to your cloud service

5. Cloud service send notification to WNS using the channel URI

6. WNS receive the request and notifies the appropriate device.

3

2

6

Roaming

App uses data normally

Data syncs for the user’s Microsoft account

LocalStorage

Resources Windows dev campshttp://www.devcamps.ms/windows

Kit de camphttp://www.microsoft.com/en-us/download/details.aspx?id=29854

Windows 8 dev centerhttp://msdn.microsoft.com/pt-br/windows/br229518.aspx

top related