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

Written by: Jon Charles - Published: Wednesday, August 15th, 2012 - Comments

Apps Support Motion Sensors

Ads:

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/


Trending On Windows 7 Themes .Net

Related Questions


Written by: Jon Charles
Jonathan is a writer on the technology and video game industries. He is comfortable with using Mac OS X and Windows; he began using Windows with Windows XP during his early double-digit years, and started using OS X in 2009 on a MacBook Pro. He began gaming on the SNES back in the 90s.

Contact The Author: support@windows7themes.net Get Free Help.png

Connect With Our Site:

facebook google twitter


Need help? Ask a question at our QA site, click the red button to get started:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *