Use the HTC to measure a known angle, before you rely on it.
I've got an HTC desire, and used it to measure my Rafters. They came in at 35 degrees.
Smart phones are great, but make sure you understand the callibration. I trusted the phone GPS with Endomondo to measure the distance I ran...