• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Synchronize external Accelerometers

Undroider

Lurker
Hi guys!

I am developing an app that receives data from multiple accelerometers. The data messages are received by Bluetooth and treated in a handler in an Activity:


private final Handler mHandler = new Handler() {
public void handleMessage(Message msg) {
switch (msg.what) { ... }
}
};



Up to now everything's fine, but from now on I will have several accelerometers transmitting to my app.

My goal is to read data within the same time window so that I can have more information regarding the movements being read by the accelerometers.

At instant t I want to have the real data information from the external accelerometers x, y, z... Is it possible to get the synchronised information without delay and get the precise data that has been read at the exact instant t?


Regards
 
Back
Top Bottom