Possible Duplicate:
How do I get the current GPS location programmatically in Android?
I have an application in which I want to get the current location.
also I want to get the latitude and longitude so I store that and return back that position.
how can do it…
try following code segment,