I am attempting to make it so that I can read the GPS data which is triggered as an event every one minute, and as a result will also read the accelerometer data at the same time. However I am unable to do this I have attached what I have in my main file. Any help would be appreciated.
Share
You are making request for GPS updates at 60000 milliseconds
Line 151
So make also accelerometer requests also at 60000 milliseconds (60000000 microseconds)
Line 71
This will give you updates on almost same time if both your listeners start almost same time.