I am glad to see that cvpcs got this working for us.,. Yet...
It seems to me though I can't speak for anyone else on this.
The readings are 180 degrees of depending on if the phone is held vertical or flat to the ground.
Can anyone confirm this for me or is it just my phone?