3

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)

max
  • 645
  • 3
  • 11
  • 22

1 Answers1

3

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)

Sean Barbeau
  • 11,496
  • 8
  • 58
  • 111
  • thnx for all guys' comments here. it is kind of a hard-practicing task. but I got some ways to work around. 1. we can use a phone ping multiple WiFi Hotspots, we can calculate which floor if you know where these spots are. 2. use fm, this can be available nearly everywhere. but first we need to know the signal strength at every floor 3. use Bluetooth to connect a device that is preinstalled in the floor – max Sep 21 '12 at 08:03