Click here to Skip to main content
Click here to Skip to main content

Motion adjuster application – using Ultrabook Sensors

By , 26 May 2013
Rate this:
Please Sign up or sign in to vote.


On launch of the 3rd Generation Intel Core Processor, Intel has introduced collection of sensors in Ultrabook. Collection of sensors includes Global Positioning System (GPS) sensor, Gyroscope, Accelerometer, Ambient Light Sensor, Compass, etc. There are many sources which helps developer community to make usage of these sensors. These sensors are presenting various useful input values, based on which creative applications may add changes in our life style. Using that we can find some solution for traditional issues. Here, I am trying to show possible solution for following problem.


Laptop users are facing problem to use it while traveling in Car, Train, Bus, etc. because of jerking motion. To read the content on screen our eyes need to set the focus frequently. Frequently changing the focus is making our eyes tired. Sometimes it causes motion sickness, too. And hence it is sensible to not to read anything while traveling.


Before some days I have seen one person playing game on phone which is having sensors to detect the motion. That fellow in that game, was controlling the car by moving phone in X and Y directions. Here, our solution may be available, using sensors if we can get the change in X and Y direction then we can adjust our screen to make it very stable although having jerking motion. I have created one demo application in Visual Studio 2012 on Windows 8 OS, and tried to generate same situation with solution. Right now I have used Storyboard based animation in XAML to show moving object in X and Y direction.

Following animation shows that while having motion we could not read text properly.


Following animation shows stable text content also having motion of its container.

Here, in example what I have done is, if container moves in -ve X direction then text content moves with same value in +ve X direction. Similar to that, if container moves –ve in Y direction then text content moves with same value in +ve Y direction, and vice versa. So that user feels stable text content in front of his/her eyes. This should resolve our problem. 

Points of Interest 

Using sensors, we can get the change in X and Y direction (i.e. movement), using which we can adjust laptop screen to make it very stable although having jerking motion.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Software Developer (Senior) iGATE Computer Systems Ltd.
India India
No Biography provided

Comments and Discussions

QuestionGreat idea! Does it work? Pinmemberdojohansen27-May-13 2:04 
AnswerRe: Great idea! Does it work? PinmemberPratik_Thakkar30-May-13 18:34 
GeneralMy vote of 5 PinmemberJWhattam26-May-13 17:28 
GeneralRe: My vote of 5 PinmemberPratik_Thakkar30-May-13 18:35 
GeneralMy vote of 5 PinmemberBhavinThakkar20-Oct-12 20:33 
GeneralMy vote of 5 PinmemberMilan Raval14-Oct-12 21:17 
QuestionWhich flavour? PinadminChris Maunder12-Oct-12 10:55 
AnswerRe: Which flavour? PinmemberThakkarPratik13-Oct-12 19:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 26 May 2013
Article Copyright 2013 by Pratik_Thakkar
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid