add accelerometer in MockApp