Detection of Static and Dynamic Activities Using Uniaxial