Android Question [SOLVED] Sensors and threading

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,
I am stupid, I can not figure it : I have not produced any code, some dirty trials only (trying to identify the timing)
  • I get the orientation data from the orientation sensor
  • I have to analyse them so I use separated threads using the threading library
  • I can eventually not do the data analysis by putting a time stamp in a variable for the analysis interval
  • I have some tasks to do repeatedly in the background so I can make them using other threads

But : is not the main thread handled (slowed) by the sensors event sub ?

Thanks
 
Last edited:
Top