As far as I am aware this would only work if the N900 had both an accelerometer and a digital compass