Agenda IoT Xbox How Windows interacts with you app Suspend and - - PowerPoint PPT Presentation

agenda iot xbox how windows interacts with you app
SMART_READER_LITE
LIVE PREVIEW

Agenda IoT Xbox How Windows interacts with you app Suspend and - - PowerPoint PPT Presentation

Agenda IoT Xbox How Windows interacts with you app Suspend and resume Background execution Resource management System triggers and notifications Application Lifetime Apps can be in 1 of 3 states Not Running Running Suspended


slide-1
SLIDE 1
slide-2
SLIDE 2
slide-3
SLIDE 3

Agenda

slide-4
SLIDE 4
slide-5
SLIDE 5
slide-6
SLIDE 6
slide-7
SLIDE 7

Xbox IoT

slide-8
SLIDE 8

How Windows interacts with you app

Suspend and resume Background execution Resource management System triggers and notifications

slide-9
SLIDE 9

Application Lifetime

Apps can be in 1 of 3 states

Not Running Running Suspended

Application receive events when transitioning between states

Except: Suspended->NotRunning

slide-10
SLIDE 10

Continue a session when not in the foreground

Location Tracking Save critical data You just want more time

slide-11
SLIDE 11
slide-12
SLIDE 12

Background Execution

Draw users into your app Delight them with features

slide-13
SLIDE 13

Where did we come from?

slide-14
SLIDE 14

PLATFORM CONVERGENCE HAS BEEN A JOURNEY

Windows 10

Converged background model

slide-15
SLIDE 15

T rigger based Background T asks

Apps subscribe to triggers they are interested in Only run *w *whe hen* n* trigger is fired Example: Push notification Geofencing BLE device Timer Sensors

slide-16
SLIDE 16

SystemTrigger TimeTrigger MaintenanceTrigger DeviceUseTrigger DeviceServicingTrigger PushNotificationTrigger CachedFileUpdaterTrigger DeviceConnectionChangeTrigger GattCharacteristicNotificationTrigger RfcommConnectionTrigger LocationTrigger AppointmentStoreNotificationTrigger ContactStoreNotificationTrigger EmailStoreNotificationTrigger BluetoothLEAdvertisementWatcherTrigger BluetoothLEAdvertisementPublisherTrigger DeviceWatcherTrigger ActivitySensorTrigger SensorDataThresholdTrigger T

  • astNotificationHistoryChangedTrigger

T

  • astNotificationActionTrigger

ApplicationTrigger MediaProcessingTrigger SocketActivityTrigger

T riggers

slide-17
SLIDE 17
slide-18
SLIDE 18
  • Version adaptive
  • App runs on a base OS version but can use up-level APIs
  • Device family adaptive
  • App uses device family-specific APIs when running on such a device
  • Form factor adaptive aka responsive layout
  • App provides user-interface tailored to one or more specific form factors

Multiple Adaptive Dimensions

slide-19
SLIDE 19
slide-20
SLIDE 20

Explosion in application development

slide-21
SLIDE 21

Things are the new apps!

slide-22
SLIDE 22

Electrical Engineering for SW Engineers

slide-23
SLIDE 23

Raspberry Pi 2

slide-24
SLIDE 24

Promise of Context Awareness

Set of facts about users Reduce explicit interaction, more responsive Advanced inferences through machine learning

Running, working out Running, late for a meeting High altitude biking Walking, Shopping In car, Driving, Stopped Sleeping

slide-25
SLIDE 25

Windows.Devices Namespace

Includes APIs to direct access buses

slide-26
SLIDE 26

Accessing Buses Directly

  • Windows.Devices.I2c
  • Contains types that you can use to communicate with peripheral devices

connected through a inter-integrated circuit (I²C) bus from an application.

  • Windows.Devices.Gpio
  • Contains types for using general-purpose I/O (GPIO) pins in user mode.
slide-27
SLIDE 27
slide-28
SLIDE 28

WindowsOnDevices.com

slide-29
SLIDE 29

http://design.windows.com https://github.com/Microsoft/Windows- universal-samples http://ms-iot.github.io/content/win10/StartCoding.htm http://channel9.msdn.com/Events/Build/2015/3-626 http://channel9.msdn.com/Events/Build/2015/2-679 http://channel9.msdn.com/Events/Build/2015/2-735 http://channel9.msdn.com/Events/Build/2015/2-724

slide-30
SLIDE 30