actually I was googling for a question:
how to get lat long by city name ?
how to get lat long by address ?
and got this one working and simply awesome : http://ws.geonames.org/search?name=ujjain&country=in&type=xml
This will return you XML that will contain lat- long for that are with some other city related information.
you just have to extract the lat- long from this xml.
be lazy… be awesome 🙂