--- android/TrainInfo/src/dk/thoerup/traininfo/provider/XmlDepartureProvider.java 2009/09/10 19:00:31 309 +++ android/TrainInfo/src/dk/thoerup/traininfo/provider/XmlDepartureProvider.java 2009/09/10 19:09:09 310 @@ -26,11 +26,12 @@ StringBuilder builder = new StringBuilder(512); @Override - public void lookupDepartures(String stationCode) { + public void lookupDepartures(int stationID) { departures.clear(); try { - String url = "http://t-hoerup.dk/tog/xml_display.php?stationcode="+stationCode; + //String url = "http://t-hoerup.dk/tog/xml_display.php?stationcode="+stationCode; + String url = "http://app.t-hoerup.dk/TrainInfoService/DepartureServlet?format=xml&station=" + stationID; Log.i("xmlurl",url); String doc = DownloadUtil.getContentString(url, 45000, "ISO-8859-1");