How to get current location Latitude Longitude in android <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/2227292/how-to-get-latitude-and-longitude-of-the-mobiledevice-in-android">How to get Latitude and Longitude of the mobiledevice in android?</a> </p> </blockquote> <p>I need a straight forward code which only find the Latitude and Longitude. I want to sent this over the webservice to get the near by hotels.</p> <p>I have used a lot of codes they work very well but some time they didn't work. If some one wants that code then i can also provide it is very good.</p> <p>Thanx all.</p>