Windows 8 DevUnleashed - Session 2

475 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
475
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • This is the Windows Runtime as a wholeIt has lots of APIs, and can build lots of Apps. But most of this is not of interest to us here at lang.next. So here’s another picture that focusses more on the Windows Runtime Foundations.
  • This is the Windows Runtime as a wholeIt has lots of APIs, and can build lots of Apps. But most of this is not of interest to us here at lang.next. So here’s another picture that focusses more on the Windows Runtime Foundations.
  • Windows 8 DevUnleashed - Session 2

    1. 1. Session 2 Daryl Rudolph
    2. 2. Session II Agenda • Sensors and Location • Web Services • Azure • Rest • Odata • Data binding / Sample Data • Isolated Storage • Data Roaming
    3. 3. Sensors and Location Know your surroundings
    4. 4. Opportunities for sensor and location apps • Make user experiences more relevant to the user’s location • Enhance apps by adapting to the surrounding environment • Every app can use simple sensor gestures • Easily create casual games and apps that use sensors • Use sensor fusion to implement cutting edge apps
    5. 5. Sensor Fusion inputs and outputs (9-Axis) Acceleromete r 3D Accelerometer 3D Gyro 3D Magnetometer Gyro Compass Inclinometer Device Orientation
    6. 6. Windows.Devices.Sensors Namespace Accelerometer Gyro Light Sensor Raw Sensor Data Inclinometer Device Orientation Compass Sensor Fusion Data
    7. 7. Intermediate motion sensor scenarios • Casual games • Labyrinth: Accelerometer • Gyro for twisting response
    8. 8. Basic app scenarios for sensors
    9. 9. Light-aware apps – render for lighting
    10. 10. Demo NO DEMO  Unless you have a sensor enabled laptop. Using Location in your application
    11. 11. Location Where am I??
    12. 12. Location scenarios • Location • Search points of interest (POI) • Geo-tag photos and other content • Navigation • Location aware notifications • weather, news , sports, coupons • Many others…
    13. 13. Declare the need for Geolocation
    14. 14. Location-based user experience
    15. 15. Demo Where am I Using Location in your application
    16. 16. Communications and Data Services, Isolated Storage, Data Roaming
    17. 17. Devices SensorsGeolocation Portable NFC Communications & Data Contracts XML Web SMSNetworkin g Notification s Local & Cloud Storage Streams Backgroun d Transfer User Interface HTML5/CS S XAML DirectX Controls Input Accessibilit y Printing Data Binding TilesSVG Fundamentals Application Services Authentication Cryptography Globalizatio n Memory ManagementThreading/Timers Media Visual Effects Playbac k PlayT o Captur e
    18. 18. Devices SensorsGeolocation Portable NFC Communications & Data Contracts XML Web SMSNetworkin g Notification s Local & Cloud Storage Streams Backgroun d Transfer User Interface HTML5/CS S XAML DirectX Controls Input Accessibilit y Printing Data Binding TilesSVG Fundamentals Application Services Authentication Cryptography Globalizatio n Memory ManagementThreading/Timers Media Visual Effects Playba ck PlayT o Captur e
    19. 19. Data Options In Detail • WCF Custom Services • SOAP • REST • Web Api • Part of MVC 4 • Local • Windows.Storage • SQLite
    20. 20. Demo Show me the data Pulling a Rest Service into your application
    21. 21. Sample Data Show me something.
    22. 22. Demo Show me the data Pulling a Rest Service into your application
    23. 23. Great apps deliver a continuous experience for your customers as they switch between apps and PCs
    24. 24. Many ways to enable a continuous experience on one PC Registry Your Custom Format Settings XML and .ini Files Cookies
    25. 25. Across many PCs? Registry Your Custom Format Settings XML and .ini Files Cookies
    26. 26. Continuity across many PCs: today • Register a domain • Setup your services and infrastructure • Figure out security and user management • Build sync infrastructure • Scale your service for millions of users
    27. 27. App data vs. user data User data Docume nts Photos Music Videos App data Settings Files Session State Local Cache
    28. 28. One PC vs. many PCs Local Large caches for offline use Offline storage for HTML5 based apps Temporary data and device specific configuration data Roaming Small, key-value pairs for app settings User context like where they left off in a book or video Small configuration files in your custom format
    29. 29. How roaming works
    30. 30. Demo Saving to Isolated Storage Folder it
    31. 31. Hands-On Lab 2 Extending the Application

    ×