BasicAirData / GPSLogger

A GPS logger for Android mobile devices

Home Page:http://www.basicairdata.eu/projects/android/android-gps-logger/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keep the cache clean

GrazianoCapelli opened this issue · comments

commented

The cache is used by GPS Logger to save the exported files for the View and the Share features.
Currently the cached files are not managed: they are simply saved and left there.
Android system usually deletes the cached files of the apps to free space when needed.

We could keep clean the GPS Logger's cache by deleting the old files, that are unused (for example the files with an age of 2 days or more). The files are unused because the app re-exports the files every time the user views or shares them.

Two good moments to clean the cache are at the start and when the app is closed.