Hello, I have a question about implementing a SensorEventListener. Say I have implemented a SensorEventListener (CustomSensorEventListener) that simply logs sensor state to a file. Now, my main application contains an instance of CustomSensorEventListener that whose callbacks are registered in onResume and unregistered in onStop. Will the onSensorChanged callback of my CustomSensorEvent instance be called back asynchronously? By this I mean, if my Activity does something that blocks, will onSensorChanged continue to be called and log sensor state, or will these callbacks only be invoked when the Activity isn't busy. The follow up questions are:
1) Is it possible to have the CustomSensorEventListener instance run in a separate thread that is not blocked by my Activity? 2) How can I do this? Thanks! --Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

