Is it possible to get acceleration only in horizontal direction irrespective of the placement of the device.
I want to calculate acceleration of moving vehicle using android device. There may be cases where device is placed in any orientation. Is there any way by which i can calculate the acceleration of vehicle using accelerometer without calibrating each time?