1 / 28

Building Sensor-based Apps Windows Phone Windows Store Windows Desktop

Building Sensor-based Apps Windows Phone Windows Store Windows Desktop. Tim Binkley-Jones manning.com / binkley. Sky Map for Windows Phone.

hugh
Download Presentation

Building Sensor-based Apps Windows Phone Windows Store Windows Desktop

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building Sensor-based Apps Windows PhoneWindows StoreWindows Desktop Tim Binkley-Jones manning.com/binkley

  2. Sky Map for Windows Phone SkyMap is an amazing planetarium for your windows phone. It enables you to point your phone at the sky and see what stars, constellations, planets or deep space objects are out there in real time.

  3. HERE City Lens Simply hold up your phone as though taking a photo, and HERE City Lens overlays the best shops, restaurants and points of interest right on your display.

  4. Windows 8 Windows Runtime Windows Store Windows Desktop Windows What??? Windows RT

  5. Windows Phone 8 both and a slimmed down version of Windows 8 is an upgrade of Windows Phone 7

  6. Image taken from the MSDN article “Windows Phone API reference” http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626516(v=vs.105).aspx

  7. Taken from the MSDN documentation for the Windows Runtime Accelerometer class

  8. Taken from the MSDN documentation for the Windows Runtime Geolocator class

  9. Taken from the MSDN documentation for the Windows Runtime LightSensor class

  10. Available Sensors • Camera, Microphone • Geolocator • LightSensor • Accelerometer, Gyrometer • Compass, Inclinometer, OrientationSensor

  11. <PropertyGroup> <TargetPlatformVersion>8.0</TargetPlatformVersion> </PropertyGroup>

  12. C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\ .NETFramework\v4.5\Facades\System.Runtime.dll For more details, see the MSDN article titled “Managed desktop apps and Windows Runtime”

  13. Accelerometer The acceleration along the each axis in g’s. publicsealedclassAccelerometerReading { publicdoubleAccelerationX { get; } publicdoubleAccelerationY { get; } publicdoubleAccelerationZ { get; } publicDateTimeOffset Timestamp { get; } }

  14. Gyrometer The angular velocity, in degrees per second, about each axis. publicsealedclassGyrometerReading { publicdoubleAngularVelocityX { get; } publicdouble AngularVelocityY { get; } publicdouble AngularVelocityZ { get; } publicDateTimeOffset Timestamp { get; } }

  15. Compass Heading - the angle between the magnetic field, and the direction the device is pointed publicsealedclassCompassReading { publicdouble HeadingMagneticNorth { get; } publicdouble? HeadingTrueNorth { get; } publicDateTimeOffset Timestamp { get; } }

  16. Inclinometer and Orientation Sensor Rotation around each access publicsealedclassInclinometerReading { publicfloat PitchDegrees { get; } publicfloat RollDegrees { get; } publicfloat YawDegrees { get; } publicDateTimeOffset Timestamp { get; } } Rotation matrix and quaternion publicsealedclassOrientationSensorReading { publicSensorQuaternion Quaternion { get; } publicSensorRotationMatrix RotationMatrix { get; } publicDateTimeOffset Timestamp { get; } }

  17. Real world point: (0, 10, 0) Relative point: (0, 10, 0)

  18. Real world point: (0, 10, 0) Relative point: (-10, 0, 0)

  19. Real world point: (0, 10, 0) Relative point: (-10, 0, 0)

  20. Building Sensor-based Apps Windows PhoneWindows StoreWindows Desktop Tim Binkley-Jones manning.com/binkley

More Related