I'd like to create an android application that can determine whether
you are upstairs or downstairs in a house. My advisor does not want us
to use GPS because he says it won't work well indoors. Instead, he
wants us to build the app using the accelerometer on the phone. Can
you offer any ideas on how I can go about doing this?
I thought at first I could obtain an acceleration vs. time graph and
then integrate twice to obtain displacement. If the displacement
reached a certain value, then you would know the user has traveled
either downstairs or upstairs. However, this seems really
computationally intensive and it requires the app be running for a
long period of time, so I doubt I could build the app using this
Any suggestions would be greatly appreciated.