1

I have started programming an Android Application to Measure short distances (in Meters) between two points so for example the user hits a start button then the application saves the current Location then while the user is walking the application shows him the distance in meters from the starting point.

How to achieve that considering not to use GPS or Networking ? I have searched around in Google and SO. I think Motion Sensors and Accelerometers are not the way to go but found nothing about Position Sensors like Orientation Sensor and Geomagnetic Field Sensor. Can I use Position Sensors to Achieve the case described above?

avk
  • 871
  • 1
  • 9
  • 22
Waxren
  • 2,002
  • 4
  • 30
  • 43

2 Answers2

0

Take a look at the answer here

https://stackoverflow.com/a/7500306/3768458

It gives some links on why this is a difficult thing to achieve.

Also there is the method to use the Gyroscope and Accelerometer with a so called Kalman Filter.

Take alook at this answer for that approach:

https://stackoverflow.com/a/13925886/3768458

Community
  • 1
  • 1
b-m-f
  • 1,278
  • 2
  • 13
  • 29
  • Thanks For the reply and as expected accelerometers are useless in my case but what I want is some sort of Coordinates System that uses a benchmark say for exmple North Pole If that is possible then the problem of indoor distance measuring is solved – Waxren Mar 21 '15 at 20:13
0

There are many books about Mobile Sensors in other words Android Augmented Reality.Try this book it helped me download here

Orgil
  • 691
  • 7
  • 16