Hello,
yet I am starting a project where to continously track the speed of a car. For example, if the speed is ahead 10km/h the app will capture the current dateTime and if it is below 10km/h as well. The App should do this even if an other App is running in the foreground. Comming back to the App the elapsed time between speed-start and speed-stopp should be computed.
I read the posts about Background Task and I read the posted information around Google Playservice. Also I still remember a comment from Erel that a B4XPage is still working even it is swiped. Now I am a little bit confused what is really needed and what is the best way to go?
I don't need the location only the speed therefore should it good to use GPS or better Device inbuild Accelerator Sensor?
How is the best way to realize the tracking even if the App is in the background including condition to run on Devices with Android 20+?
Thank you in advance for your help.
yet I am starting a project where to continously track the speed of a car. For example, if the speed is ahead 10km/h the app will capture the current dateTime and if it is below 10km/h as well. The App should do this even if an other App is running in the foreground. Comming back to the App the elapsed time between speed-start and speed-stopp should be computed.
I read the posts about Background Task and I read the posted information around Google Playservice. Also I still remember a comment from Erel that a B4XPage is still working even it is swiped. Now I am a little bit confused what is really needed and what is the best way to go?
I don't need the location only the speed therefore should it good to use GPS or better Device inbuild Accelerator Sensor?
How is the best way to realize the tracking even if the App is in the background including condition to run on Devices with Android 20+?
Thank you in advance for your help.