Skip to main content

New Video - Android: Getting Latitude and Longitude


Link to video: https://youtu.be/fouAGhpq8Ss

This simple app displays the latitude and longitude coordinates of the phone using Google's location services API and the getLastLocation() function as of June 2018. The code is on GitHub: https://github.com/bluepandadev/Location2

I was following along with Udacity's location class when I came across a deprecated method. Since Udacity doesn't have an updated video for it yet, I decided I'd try making one.  Let me know if you have any suggestions on how to do this better.

Link to the Udacity class, Google Location Services on Android: https://www.udacity.com/course/google-location-services-on-android--ud876-1

Here's a training doc on location from the google dev website: https://developer.android.com/training/location/

And here's the Google APIs for Android, LocationServices page on the google developer website for more information: https://developers.google.com/android/reference/com/google/android/gms/location/LocationServices

Comments

Popular posts from this blog

Trip to Europe 2024

Steven and I got to go to Europe for two weeks. Our main stops were Amsterdam, Brussels, and London. The links in this post take you to videos that go along with the pictures. Amsterdam, Netherlands Flying to Amsterdam from Salt Lake City was over 9 hours and 5,000 miles. Phew. We took trains to get from Schipol Airport to our hotel. It took us a little while to figure out exactly how to get where we were going in our jet-lagged state, but after tapping in and tapping out a few times getting around anywhere in Amsterdam was so easy! Bikes - We loved seeing all the bikes. The Centraal Station bike parking lot was especially amazing with just how many bikes were there. Canal Tour - One of our first activities in Amsterdam was a canal tour. Definitely recommend! It was nice getting an overview of the city and its history. Bike tour - Our favorite part of the whole trip! We zipped along the fields around Amsterdam on electric bikes, saw windmills and electric pumps, and stopped at a fa...

Delicious Crepes

  Delicious Crepes 2 Tbs melted butter 2 eggs 1 cup flour Mix. Then add slowly: 1/2 cup milk 1/2 cup water 1/4 tsp salt

Fidget ball made from pony beads and keychain rings