Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
Button cmd_submit = (Button)findViewById(R.id.cmd_submit); cmd_submit.setOnClickListener(new OnClickListener(){ @Override public void onClick(View arg0) { URL url; try { /* Get what user typed to the EditText. */ String cityParamString = ((EditText)findViewById(R.id.edit_input)) .getText().toString(); String queryString = "http://www.google.com/ig/api?weather=" + cityParamString; /* Replace blanks with HTML-Equivalent. */ url = new URL(queryString.replace(" ", "%20")); /* Get a SAXParser from the SAXPArserFactory. */ SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser(); /* Get the XMLReader of the SAXParser we created. */ XMLReader xr = sp.getXMLReader(); /* Create a new ContentHandler and apply it to the XML-Reader*/ GoogleWeatherHandler gwh = new GoogleWeatherHandler(); xr.setContentHandler(gwh); /* Parse the xml-data our URL-call returned. */ xr.parse(new InputSource(url.openStream())); /* Our Handler now provides the parsed weather-data to us. */ WeatherSet ws = gwh.getWeatherSet(); /* Update the SingleWeatherInfoView with the parsed data. */ updateWeatherInfoView(R.id.weather_today, ws.getWeatherCurrentCondition()); updateWeatherInfoView(R.id.weather_1, ws.getWeatherForecastConditions().get(0)); updateWeatherInfoView(R.id.weather_2, ws.getWeatherForecastConditions().get(1)); updateWeatherInfoView(R.id.weather_3, ws.getWeatherForecastConditions().get(2)); updateWeatherInfoView(R.id.weather_4, ws.getWeatherForecastConditions().get(3)); } catch (Exception e) { resetWeatherInfoViews(); Log.e(DEBUG_TAG, "WeatherQueryError", e); } } });