Info on onSensorChanged of android acccelerometer
<p>I am trying to write a motion sensing game on the android platform. I am including my whole algorithm of motion detection into the onSensorChanged() function. The problem is that the function executes for different times based on the input. I have certain queries about how the function executes and gets called:-</p>

<p>1) If my function executes for a long time that 2 onSensorChanged event occurs do both get called or only the latest one?</p>

<p>2) Does the onSensorChanged function run on different threads other than the activity thread?</p>

<p>3) Do multiple instance of onSensorcChanged function run on different threads? Is there any type of synchronization on the variable access?</p>

<p>4) Can anyone point me to where i can find any detail information about onSensorChanged() or related information?</p>

<p>5) Is there any way i can first play the game for sometime and see how the values changed over tine and how the function executed differently?</p>
