ykasidit / bluetooth_gnss

Bluetooth GNSS app on Google Play Store
https://play.google.com/store/apps/details?id=com.clearevo.bluetooth_gnss&hl=en&gl=US
GNU General Public License v2.0
63 stars 19 forks source link

Sort mountpoints by distance #9

Closed pyrog closed 2 years ago

pyrog commented 3 years ago

During a trip this is difficult to find the nearest base, especially with a long mount list (e.g. centipede with 160 bases) It will be useful to have a sort option (by name, distance…) and to display the distance in the list.

ykasidit commented 2 years ago

Thanks for the suggestion, will try sort it. (Not sure when though as my main work is quite demanding now, badly affected by covid...)

On Thu, Jul 8, 2021, 23:47 Yves Pratter @.***> wrote:

During a trip this is difficult to find the nearest base, especially with a long mount list (e.g. centipede http://caster.centipede.fr:2101 with 160 bases) It will be useful to have a sort option (by name, distance…) and to display the distance in the list.

https://user-images.githubusercontent.com/2158081/124960427-9cd76500-e01c-11eb-9014-ab82b7f17aef.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ykasidit/bluetooth_gnss/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2P3S427TIIRQKVIHDQ2DTWXJA3ANCNFSM5ABDS5NA .

pyrog commented 2 years ago

Ok Kasidit, we understand 😃

Mountpoints are queried by MainActivity.java#L110 List is build and sorted by settings.dart#L93

ykasidit commented 2 years ago

Ok trying something on this saturday morning haha - not released yet, there would be a checkbox like this: image

So it would sort and show like this: image

Will try update again when this is released.

ykasidit commented 2 years ago

Pls try the new apk from https://github.com/ykasidit/bluetooth_gnss/releases/tag/1.0.23 > app-release.apk and see if it works for you or not.

ykasidit commented 2 years ago

Please help test and confirm if the release made it work on your side or not.

ykasidit commented 2 years ago

Closing as assumed solved.

pyrog commented 2 years ago

I discovered this new feature yesterday. It works fine. Thank you very much 😎