Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can be located which floor we are via smart phone GPS?

Is there a way that can decide which floor we are via smart phone?

For example, i m in a building. floor 5;

the native app in my smart phone can know i m on floor 5 and give me some advice about floor 5(navigation to floor 1)

like image 696
max Avatar asked Dec 21 '25 00:12

max


1 Answers

With some newer Android phones (e.g., Samsung Galaxy S3), embedded barometric pressure sensors can be used to derive an accurate indoor altitude estimate, which could be transformed into floors (assuming you know which elevation the floor is located at).

See this article on STMicroeletronics pressure sensor:

http://www.engadget.com/2012/09/06/stmicroelectronics-details-pressure-sensor-in-your-galaxy-s-iii/

This app shows altitude based on barometric pressure:

https://play.google.com/store/apps/details?id=com.snakebite.mike.altimeter

Here's the Android API: http://developer.android.com/reference/android/hardware/SensorManager.html#getAltitude(float,%20float)

like image 164
Sean Barbeau Avatar answered Dec 23 '25 15:12

Sean Barbeau



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!