I'm new to Android development. As a class assignment another student and myself are making an android app that will utilize GPS coordinates.
Is there anywhere that would be a good place for me to start with GPS feature on Android, or that has a good example of how to use GPS? I don't want anything deep, literally just how to retrieve and use current GPS coordinates. I'd like to start simple and build up from there.
You can find coordinates on Google Maps to give you the exact positioning (the latitude and longitude) of any location. It's easy to find coordinates on Google Maps on your phone or computer, and you can copy and paste your coordinates to share a precise location with others.
Android: Open Google Maps; it will zoom to your approximate location. Press and hold on the screen to drop a pin marker. Click on the dropped pin; latitude and longitude will be displayed below the map.
Google Maps For Android users, Google Maps is the simplest way to either enter latitude and longitude coordinates or to find out your current coordinates. If you want to find your current coordinates, zoom into your location and hold down on the touchpad screen in the map.
As mentioned in one of the other answers, Vogella's article here is very good for learning the basics of using GPS on Android.
The Android Dev guides are also particularly good for this area - obviously there are issues with battery drain associated with using location listeners. More in-depth information on what you can do to combat those issues are here, as when you get to grips with how to use GPS, you'll want to use it efficiently!
HTH
Well mostly GPS coordinates are used along with Google Maps. So, as a starter what you can do is just get your own coordinates and put a marker on your location on the map.
This article and this one describes everything about using google maps with android.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With