mjaakko / NeoStumbler

New stumbler application for contributing data to geolocation services
MIT License
125 stars 11 forks source link

Allow changing how often data is recorded #186

Open PinguDEV-original opened 3 months ago

PinguDEV-original commented 3 months ago

Description

I would love to have a slider from 1-60, that changes how often data is recorded. Right now I think its every 20 seconds which is good enough for walking, but for cycling for example every 5 seconds (or maybe even every second; thats why i would love to have a slider or something).

Suggested implementation

No response

Additional information

No response

New request

mjaakko commented 3 months ago

I'm not sure if there's use for creating reports with very low interval, because it takes a while to scan for networks anyway. Will have to experiment to find out what would be a reasonable minimum interval and there could also be a special setting to create reports as soon as more data is available

PinguDEV-original commented 3 months ago

Yeah thats a good idea, :+1:

AtmosphericIgnition commented 3 months ago

Is the recording frequency hard coded into the app somewhere? If you tell me where that is, I would be willing to build a few modified versions of NeoStumbler with different recording intervals, and test the quality of the recorded data by walking/biking/driving the same route with different scanning intervals.

PinguDEV-original commented 3 months ago

I think the main stuff can be found here: https://github.com/mjaakko/NeoStumbler/blob/master/app/src/main/java/xyz/malkki/neostumbler/scanner/ScannerService.kt

mjaakko commented 2 months ago

FYI, I'm working on refactoring the scanner service to create reports as soon as new data is available (instead of every 20 seconds)