zamojski / TowerCollector

The OpenCellID and MLS contributor's app.
Mozilla Public License 2.0
217 stars 27 forks source link

allow an external GPS to be used #58

Open davebrny opened 5 years ago

davebrny commented 5 years ago

i use a garmin glo bluetooth gps with my phone to get more accurate location when contributing to mapillary and recording gpx tracks for openstreetmap but i have to run tower collector on another phone at the same time since it will only pick up the internal gps.

it would be great if you could add support so i wouldnt need to bring around two phones with me and it would also help make the opencellid database a bit more accurate

osmAnd and maps.me are two apps that use the external gps when its available so maybe you can check their source code for how its done. this is the app i use to enable mock locations if its any use https://play.google.com/store/apps/details?id=googoo.android.btgps

zamojski commented 5 years ago

Sounds like a nice idea! It's reasonable to use one GPS source on many phones. I would like to have that one as well because I have 5 test phones which I could use this way.

I did a research over the Internet but it seems the topic is unpopular. I was able to find only one usage of Bluetooth GPS device in open source project: https://github.com/platypii/BASElineFlightComputer. The project you mentioned doesn't refer to any Bluetooth Android API functions.

I see 2 obstacles at this moment. First I need to have one external GPS device which is quite expensive (at least yours, and such receivers are quite unpopular these days). The second one is lack of spare time to actually implement such enhancement (and that's a pity).