API Connection :
When i write Tokyo in text-box and press search button . It gives error .
CODE :
// extract latitude and longitude data
JSONObject location = (JSONObject) locationData.get(0);
// retrieve weather data
weatherData = WeatherApp.getWeatherData(userInput);
CODE :
// extract latitude and longitude data
JSONObject location = (JSONObject) locationData.get(0);
// retrieve weather data
weatherData = WeatherApp.getWeatherData(userInput);

