I want to get my exact latitude and longitude in android. I don't have GPS in my android device. So, I need to get my location with the help of internet.

&

If getting latitude and longitude fails, show a toast "Failed to get location"

Thanks in advance.