How to Calculate Height of Android Phone and me from ground -


i working on project in have calculate device height ground. have searched on internet not find solution.

please, tell me do..??

there no simple way it, can think of several possibilities (obviously, combining more 1 can improve solution):

  • using sound - emitting beep , recording echo can used measure distance whatever returned sound (by using time difference , amount of attenuation, i.e. volume)
  • using light - in low light situation (or @ least low light in 1 color) possible light ground (using phone's led) , using camera measure spread , intensity of light beam
  • using gps - not accurate enough unless flying
  • using accelerometer - raising phone ground , integrating acceleration 1 way twice

most of these require taking 1 measurement close ground , 1 @ measured hight calibration.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -