View Single Post
Old November 15th, 2009, 01:54 AM   #1 (permalink)
rcasha
New Member
 
Join Date: Nov 2009
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to combine accelerometer values into 1

I'm developing an application which measures the accelerometer values to indicate how much the phone is being shaken. At the moment I'm just using the Z value, which works if the phone is lying flat on its back.
Is there any formula to combine x + y + z in order to give the value irrespective of the orientation of the phone?
rcasha is offline  
Reply With Quote