http://maps.googleapis.com/maps/api/geocode/json?address=cholula,%20puebla&sensor=false
Pero no tengo mucha idea de como obtener un JSON de ese tamaño, esto lo debo de hacer con GSON, aca dejo el JSON espero puedan darme una mano.
Código:
{
"results" : [
{
"address_components" : [
{
"long_name" : "Cholula",
"short_name" : "Cholula",
"types" : [ "route" ]
},
{
"long_name" : "La Paz",
"short_name" : "La Paz",
"types" : [ "neighborhood", "political" ]
},
{
"long_name" : "Heroica Puebla de Zaragoza",
"short_name" : "Heroica Puebla de Zaragoza",
"types" : [ "locality", "political" ]
},
{
"long_name" : "Puebla",
"short_name" : "PUE",
"types" : [ "administrative_area_level_1", "political" ]
},
{
"long_name" : "México",
"short_name" : "MX",
"types" : [ "country", "political" ]
},
{
"long_name" : "72160",
"short_name" : "72160",
"types" : [ "postal_code" ]
}
],
"formatted_address" : "Cholula, La Paz, 72160 Puebla, PUE, México",
"geometry" : {
"bounds" : {
"northeast" : {
"lat" : 19.05461770,
"lng" : -98.22511950000001
},
"southwest" : {
"lat" : 19.05343170,
"lng" : -98.22815570
}
},
"location" : {
"lat" : 19.05356190,
"lng" : -98.22651650
},
"location_type" : "GEOMETRIC_CENTER",
"viewport" : {
"northeast" : {
"lat" : 19.05537368029150,
"lng" : -98.22511950000001
},
"southwest" : {
"lat" : 19.05267571970850,
"lng" : -98.22815570
}
}
},
"types" : [ "route" ]
}
],
"status" : "OK"
}