Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Dmitry Ponomarenko
18,175 Points"The Beginner’s Guide to Location in Android" getLastLocation() issue
Okay, i made an app exactly how the blog post told (http://blog.teamtreehouse.com/beginners-guide-location-android), but for some reason I keep getting 0, 0 coordinates instead of Kiev, Ukraine. LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient); keeps giving me null value. I even tried to copypaste Ben's code from GitHub but it didn't help. Maybe someone know how to fix this problem?
1 Answer
Fernando Zegarra
Courses Plus Student 2,596 PointsI could help you or you can try this video , have some experience : https://www.youtube.com/watch?v=QazGb6wJed8