I have custom hardware, with a custom Android Launcher app running. I need to read an ADC chip (ADS7871) at a set interval. Currently this is being done using a handler, but it seems the postdelayed value is not maintained if other tasks are operating in the background.
Is there a better method for performing a task at set intervals, which will take priority?
Many Thanks, Nigel