1. Dead reckoning with a single accelerometer is trouble. You'd really need a gyro, accelerometers will give you onyl translation, but not rotation. 2. If you walked 20ft with GPS on, you'd have a direction anyway There is just one assumption to make - that the device was in front of you.