10 |
import android.util.Log; |
import android.util.Log; |
11 |
import dk.thoerup.traininfo.StationBean; |
import dk.thoerup.traininfo.StationBean; |
12 |
import dk.thoerup.traininfo.util.DownloadUtil; |
import dk.thoerup.traininfo.util.DownloadUtil; |
13 |
|
@Deprecated |
14 |
public class GoogleStationProvider implements StationProvider { |
public class GoogleStationProvider implements StationProvider { |
15 |
|
|
16 |
List<StationBean> stations = new ArrayList<StationBean>(); |
List<StationBean> stations = new ArrayList<StationBean>(); |
17 |
|
|
18 |
public boolean lookupStations(String name) { |
public boolean lookupStationsByName(String name) { |
19 |
return false; // Not supported |
return false; // Not supported |
20 |
} |
} |
21 |
|
|
22 |
@Override |
@Override |
23 |
|
public boolean lookupStationsByIds(String ids) { |
24 |
|
return false; |
25 |
|
} |
26 |
|
|
27 |
|
@Override |
28 |
public boolean lookupStations(Location location) { |
public boolean lookupStations(Location location) { |
29 |
boolean success = false; |
boolean success = false; |
30 |
//ToDo: to be nice put the api key into the request |
//ToDo: to be nice put the api key into the request |