Hi
I used StartServiceAt every 0.5 seconds (StartServiceAt ( "" ,DateTime.Now+500,True)) to read results from a connected IOIO board. This used to work fine in the past.
When running it today on a newer android the service restart every ~5 seconds. setting the service restart at values over 5000(5 seconds )works good but any value lower then 5000 is being ignore
Any way to make the software start the service every 0.5 seconds
Thanks
You shouldn't use StartServiceAt for such short intervals. Use a regular timer instead and a foreground service to prevent Android from killing the process.
You shouldn't use StartServiceAt for such short intervals. Use a regular timer instead and a foreground service to prevent Android from killing the process.