i have used accelerometer.. but what should i do to detect hosrizontal shake of device?
Thanks in advance..