I've been working on retrieving GPS coordinates for Android, and although it's been a little difficult and confusing sometimes I've figured out some cool things I can set up for this app.
What I've got so far:
- GPS coordinates through both the network and GPS provider (and without the usage of mobile data or WiFi now)
- Able to send the coordinates and provider name to a number through a text (after pressing a button)
What I plan to get:
- App replies depending on what you text the phone (e.g. text "gps" to the phone to have it reply with the coordinates, maybe even have different words for using from different providers)
- Auto-text a number with coordinates every so many minutes (for security, in case it loses service or something goes wrong with the auto-reply, etc.)
I also want to implement the ability to switch between providers for accuracy, power usage, and provider availability purposes.
With both WiFi and data disabled, the network provider was still quick, but quite inaccurate compared to before (pointed to the center of the town, when I was on the edge of town, so about 1km off), but with using the GPS provider with no data or WiFi, it was a little slower retrieving coordinates, and was a little inaccurate the first time retrieving (since the GPS provider takes a while to warm up) but after the first refresh, every set of coordinates after was on top of the house, only varying a couple of feet at max after each refresh.

No comments:
Post a Comment