I am developing a google map application. When i start my personal computer and run the application first time, at that time i have to give latitude and longitude manually. Once i give it, after that it displays latitude and longitude otherwise it does not finding any particular location. Actually, i want to get latitude and longitude of the current location when i run my application.
Now the second thing is, i have a EditText in which the user will enter the location and on the basis of that i should directly go to that particular location and it should also display the latitude and longitude of that location.
How can i do that? I got this thing from the "Google Earth" in which the user enter location in the string format and it converts in latitude and longitude and display map to the user. The same thing i want to do.
If anybody have any idea about it. Please share with me.