Problem with Kalman filtering accelerometer data
If there is any offset in the acceleration measurement, then a Kalman filter won't help without the addition of some velocity and/or position reference measurements.  Double integration of random-walk noise in the acceleration measurement will eventually lead to a reported position of your device outside the solar system.