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)
public class YahooGeoAPI { private static final String LOGGER = "lordhong.yahoo"; private static final String APPID = "your yahoo app id goes here"; private static final String YAHOO_GEO_API_URL = "http://local.yahooapis.com/MapsService/V1/geocode?appid="; private static HttpConnectionManager connectionManager = new SimpleHttpConnectionManager(); public static String getGeoCode(String location) throws IOException { StringBuffer url = new StringBuffer(YAHOO_GEO_API_URL); url.append(APPID).append("&location=").append(location.replaceAll(" ", "+")); Log.i(LOGGER, "yahoo geo request: " + url.toString()); HttpURL httpURL = new HttpURL(url.toString()); HostConfiguration host = new HostConfiguration(); host.setHost(httpURL.getHost(), httpURL.getPort()); HttpConnection connection = connectionManager.getConnection(host); connection.open(); GetMethod get = new GetMethod(url.toString()); get.execute(new HttpState(), connection); String response = get.getResponseBodyAsString(); Log.i(LOGGER, "yahoo geo response: " + response); connection.close(); return response; } }