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 trialRavinder Singh
91 PointsAdding Location Feature
How can I make my app, to detect the location of the phone ( on the device it runs on) and show whether of that area instead of hardcoding location, as we have done in this course??
2 Answers
Dekel Zoaretz
14,864 PointsYou have a great answer here: http://stackoverflow.com/questions/2227292/how-to-get-latitude-and-longitude-of-the-mobiledevice-in-android Good luck!
Ravinder Singh
91 PointsThanks a lot. I ll look into it. Hope fully, it ll work