How to write an Android app that finds my location in google maps?

Hi,
I would like to write an Android application that finds my location when I click a virtual button on the screen.

Can you please let me know in detail how to write this code?

Note: I only need the source code information. I can take care of the rest (setting up Eclipse, Anroid SDK and building the app and deploying it).


Thanks,
TolgarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SanthanaTechnical LeadCommented:
Hi  Tolgar,

From the below link you can find demos to find the current location...

http://www.firstdroid.com/2010/04/29/android-development-using-gps-to-get-current-location-2/

http://blogoscoped.com/archive/2008-12-15-n14.html


In this android developer docs you can find the best way to implement location based applications....

http://developer.android.com/guide/topics/location/obtaining-user-location.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gudii9Commented:
Here is interesting explanation, link
Google Maps is one of the many applications bundled with the Android platform. In addition to simply using the Maps application, you can also embed it into your own applications and make it do some very cool things. In this article, I will show you how to use Google Maps in your Android applications and how to programmatically perform the following

    Change the views of Google Maps
    Obtain the latitude and longitude of locations in Google Maps
    Perform geocoding and reverse geocoding
    Add markers to Google Maps


http://mobiforge.com/developing/story/using-google-maps-android
http://www.javacodegeeks.com/2011/02/android-google-maps-tutorial.html
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Android

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.