BasicAirData / GPSLogger

A GPS logger for Android mobile devices
http://www.basicairdata.eu/projects/android/android-gps-logger/
GNU General Public License v3.0
371 stars 119 forks source link

App needs to run in background #205

Closed orbiterFan closed 1 year ago

orbiterFan commented 1 year ago

Hi Guys

Really cool app. I am on a 1500km canoe journey right now, third week in, and when my phone is in ultrasaver, I run your app, but switch to camera a lot.

After a while your app stop logging. Please can you fix this.

This is a real world case where gpslogging should continue.

I am canoeing 5 Rivers, and the other thing that would be useful is more intervals, like 5 second and 10 second, that is useful for the waterways. My average speed is 1.5km/h. Yeah I know. Very slow.

Your app works well, but needs to run no matter what other app is in the foreground.

Thanks for the great work. Interface is a beaut.

Check out the unfolding journey right now. https://m.youtube.com/channel/UCwR7NmYONAAq6me4ZbeXkNQ

GrazianoCapelli commented 1 year ago

Hi @orbiterFan, first of all thanks for your feedback coming from a real (and very cool) use case.

We already had other feedback about the problem with the camera, specially from Samsung users. Unfortunately we cannot solve the issue because it is not related to our app: the problem is that Android allows your camera app to stop other background process to free up RAM. We can do nothing to avoid it from inside the app.

Luckily the Play Store has plenty of camera apps (some of them are free, ad-free and very good): we can only suggest, if possible, to switch to another app to take photos and videos. As alternative you could carry an old phone to log the tracks and use the new one to take photos.

We apologize for not being helpful. Anyway, best wishes for your journey from the whole BasicAirData community!

GrazianoCapelli commented 1 year ago

I am canoeing 5 Rivers, and the other thing that would be useful is more intervals, like 5 second and 10 second, that is useful for the waterways. My average speed is 1.5km/h. Yeah I know. Very slow.

If you want to log a point every 10 seconds, you should leave the GPS update interval to 1 second (to keep a good GPS accuracy) and set an interval filter of 10 seconds.

As alternative, if you would for example to record a point every 5 meters, you can set a Distance Filter of 5 meters.

orbiterFan commented 1 year ago

Thanks for the help. I will try the filter. I have also switched to OpenCamera on fdroid.

GrazianoCapelli commented 1 year ago

@orbiterFan - I close this issue, to keep our issue tracker clean. Feel free to comment or re-open the issue in case of need.

If possible, We would be glad to know if the problem is still present also using OpenCamera.