Added Android accelerometer support