Need to read android sensors really fast
<p><strong>Issue:-</strong></p>

<ol>
<li>I am developing a application which
needs a new acceleration datum every 5
millisecond.</li>
</ol>

<p><strong>My Approach:-</strong></p>

<ol>
<li>I have created a remote service
which only reads the acceleration
data from SensorManager.</li>
<li>I had also set the read rate to
"DELAY FASTEST" while initialize the
SensorManager.</li>
<li>Then i use IPC to communicate too my
main application to get these
reading.</li>
</ol>

<p><strong>Problem:-</strong></p>

<ol>
<li>If i put a log inside
onSensorChange() event i receive a
new sensor data every 20 ms time. But i need data every 5 ms.</li>
</ol>

<p><strong>Question ?</strong></p>

<ol>
<li><p>Is there any better method to read
the senor data faster.</p></li>
<li><p>Is there any way i can poll the
senor data rather that waiting for
the event handler to trigger the
event?</p></li>
</ol>

<p>Please help me to find a better solution to read the data in 5 ms time or poll the acceleration data.</p>
