I am developing an app using android OS for which I need to know how can I calculate the movement of the device up in the vertical direction.
For example, the devic
you can correlate it to magnetic field sensor in microTesla
You can use dist= integral of integral of acceleration ~ sigma ~ summation = integral of speed+constant