Windows 8 plataforma de desenvolvimento


Published on

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

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • We are looking forward, into the future, and making bold bets. Much like Windows was to DOS or Windows 95 was to Win3.x
  • Every language is a first class citizen.. This is the official slide, Direct X is missing from this slide.. But you can show it..
  • CRT - C Run-Time Libraries (CRT)CLR - Common Language Runtime
  • What we call "bindings" Microsoft now calls "projections". Projections are the process of exposing APIs to three environments: Native (C and C++), HTML/Javascript and .NET.
  • Now that you have seen what the new Windows looks like, let’s talk about the platform.
  • Now that you have seen what the new Windows looks like, let’s talk about the platform.
  • The Windows.Devices.Sensorscotaints all that is available with regards to sensors. SimpleData == high level data such as orientation, from here we get portrait/landscape/face-up/down.. Raw Sensor data LightSensors – measures Accelerometer -- Gyro == rotational speeds around X,Y, Z axis of the chassis.. We have powerful new capabilities coming from sensor fusion data sensors.. Tilt compensated compassInclinometer,Device orientation
  • The 9-axis system is standard equipment in Windows 8 tablets (designed and certified) .. Accelerometer == acceleration due to gravity.. Gyro == rotational speeds around x,y,z of the device.. Magnetometer == magenetic field strenghts.. Pass-through data is easy.. Hardware accelerometer data is given to you via an accelerometer API.. The interesting magic happens when we get to sensor fusion.. Compass is a tilt-compensated compass you can use to always know where north is.. Inclinomenter = yaw pitch and raw.. Representing device orientation in 3D space.. DeviceOrientation exposes rotation matrix data..
  • Now that we have introduced the architecture and a bit of the language.. We need to move to the new App Execution Environment..
  • Toast notifications use the same template architecture as live tilesRich set of rendering options available
  • 1. Your app sends a request for a push notification channel to the Notification Client Platform.2. The Notification Client Platform asks WNS to create a notification channel. This channel is returned to the calling device in the form of a Uniform Resource Identifier (URI).3. The notification channel URI is returned by Windows to your app.4. Your app sends the URI to your own cloud service. This callback mechanism is an interface between your own app and your own service. It is your responsibility to implement this callback with safe and secure web standards.5.When your cloud service has an update to send, it notifies WNS using the channel URI. This is done by issuing an HTTP POST request, including the notification payload, over Secure Sockets Layer (SSL). This step requires authentication.6. WNS receives the request and routes the notification to the appropriate device.
  • Key, app does not have to do much – whole infrastructure built for you.Writes local and system takes care of the rest – some limitations, we will cover later.Slide 8 from PLAT-475T
  • Windows 8 plataforma de desenvolvimento

    1. 1. demo
    2. 2. demo
    3. 3. demo
    4. 4. 
    5. 5. 1. Send Request for Channel URI2. NCP asks WNS to create a notification Channel3. WNS returns a URI4. App sends the URI to your cloud service5. Cloud service send notification to WNS using the channel URI6. WNS receive the request and notifies the appropriate device.
    6. 6.
    7. 7. Microsoft Virtual Academy Channel 9