Read the azimuth from an android accelerometer/gyroscope and create HTTP request towards a server