Developing Android Application 5

Weekly Review:

I finally moved my image on phone screen but it is better reacts when I rotate my phone instead of moving it. I used data from accelerometer(gives us acceleration in x,y and z axis) and by formula Distance = (linear_acceleration)*(time^2)/2 found distance and added to current position. From internet tutorials, I concluded that combination of gyroscope and accelerometer make data more accurate. Also by using Kalman filter we can clear noise of data from accelerometer(it is very complex, not easy to use). Only now, I understand that difficulty between our project and previous one is same. One of solution for drawing on air and detecting it on screen, is to save coordinates by orientation sensor in 2 matrix array and later compare with array in database.

TODO: To improve my program by clearing data from rotation(by using gyroscope) and  implement more physical formulas.

Comments