Why Your Apps Should Support Motion Sensors, Among Other Sensors, By Microsoft

Apps Support Motion Sensors

If you haven’t checked out the MSDN blog, and you’re a Windows Store developer, then you probably should as soon as possible. Microsoft is covering all aspects of app development, and the latest is why software should support motion sensors.

Moving devices and looking like a bit of an idiot is all the range, as Microsoft encourages motion sensors to support apps

Sensors in Windows 8 are a feature Microsoft wants you to use, bringing automatic screen rotation and brightness control. However, Microsoft wants location-aware and sensor-aware app that — in the software giant’s worth – create excitement. Tablets certified for Windows 8 includes ambient light sensor and a 9-axis sensor fusion system. It uses the following hardware: a 3D accelerometer, gyroscope, and magnetometer.

Microsoft also said adding location support to apps is simply. Developers need to add a location capability declaration in the software’s manifest files, which lets Windows 8 know that the app is trying to know the current location.

There are a couple of ways users can enable app’s so locations can be accessed. The first is called single shot — on-demand — for information including showing the position on a map and annotating local content. It also helps to preserve battery life, and Microsoft includes JavaScript and C# code at the source link below.

Single Use Or Continuous, It’s your Choice Developers

The second option is continuous access, so turn-by-turn navigation and altering users of points of interest when passing by. To do this developers need to add an event listener when the system notices the location changes. Again, lines of codes for developers us JavaScript of C# are available via the source link.

There is also application programming interfaces (APIs) in Windows 8 for the ALS Sensor, accelerometer, gyroscopic sensor, compass, inclinometer (when tiling a device), when using the device in portrait and landscape orientation and when faced up and down, and orientation across nine axes.

Microsoft is ultimately encouraging developers to build in sensors and location functionality to create new experiences in Windows 8, and cites to simply pick-up-and-code functionality in Windows 8. If there is an award for most accessible development platform, then Windows 8 is certainly gunning for the title. Apps with rich functionality can only be good for the operating system.

Windows 8 launches October 26.

Source: http://blogs.msdn.com/

Twitter.png Facebook.png GooglePlus.png Pinterest.png LinkedIn.png Tumblr.png Email.png
5 of 5 0 (100%) 1 vote
- Cheers!