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.
Friday, December 20, 2013
Tuesday, December 10, 2013
Progress Update - Alternative to Pi Wifi
Since we had an issue with connecting to the Pi through WiFi (stably) James had a great idea of using a smartphone in our Pi's case, since Android phones have data, WiFi, and a GPS.
So for the next little while, each one of us has our own job:
Tyler - Planning our case, getting materials
Kyle - Programming an Android app to send GPS coordinates
James - Setting up a phone to use, also wants to get a way to stream the video from the Pi
So far, I've gotten my GPS app to use the network provider to instantly find GPS coordinates and also set up a way to text the coordinates to a number. It also uses an unexpectedly small amount of data to retrieve coordinates, so we don't have to worry about using too much mobile data on our phone. For the GPS I'm using the network provider, which is known to use very little power, be very fast, but has an accuracy of only 200ft. Although so far that I've used it, it's been so accurate that it knows exactly where I'm sitting in my house.
So for the next little while, each one of us has our own job:
Tyler - Planning our case, getting materials
Kyle - Programming an Android app to send GPS coordinates
James - Setting up a phone to use, also wants to get a way to stream the video from the Pi
So far, I've gotten my GPS app to use the network provider to instantly find GPS coordinates and also set up a way to text the coordinates to a number. It also uses an unexpectedly small amount of data to retrieve coordinates, so we don't have to worry about using too much mobile data on our phone. For the GPS I'm using the network provider, which is known to use very little power, be very fast, but has an accuracy of only 200ft. Although so far that I've used it, it's been so accurate that it knows exactly where I'm sitting in my house.
Subscribe to:
Posts (Atom)
