--- android/TrainInfo/src/dk/thoerup/traininfo/provider/DebugProvider.java 2009/10/03 10:55:43 391 +++ android/TrainInfo/src/dk/thoerup/traininfo/provider/DebugProvider.java 2010/05/03 11:19:18 699 @@ -63,8 +63,23 @@ station.setDistance(1700); station.setId(1); station.setLatitude(56.0); - station.setLongitude(10.0); + station.setLongitude(10.0); + stations.add(station); + + station = new StationBean(); + station.setName("Gåserød"); + station.setDistance(5300); + station.setId(2); + station.setLatitude(58.0); + station.setLongitude(10.0); + stations.add(station); + station = new StationBean(); + station.setName("Pladerballe"); + station.setDistance(15600); + station.setId(3); + station.setLatitude(52.0); + station.setLongitude(11.0); stations.add(station); return stations; @@ -76,12 +91,19 @@ } @Override - public boolean lookupStations(String name) { + public boolean lookupStationsByName(String name) { + return true; + } + + + + @Override + public boolean lookupStationsByIds(String ids) { return true; } @Override - public List getTimetable(String trainID) { + public List getTimetable(String type, String trainID) { List timetables = new ArrayList(); TimetableBean timetable = new TimetableBean(); @@ -116,7 +138,7 @@ } @Override - public boolean lookupTimetable(String trainID) { + public boolean lookupTimetable(String type, String trainID) { return true; }