66 |
File parent = context.getFilesDir(); |
File parent = context.getFilesDir(); |
67 |
File stationsFile = new File(parent, "stations.bin"); |
File stationsFile = new File(parent, "stations.bin"); |
68 |
|
|
69 |
|
|
70 |
byte data[] = HttpUtil.getContent(XmlUtil.SERVICE_BASE + "/LocateStations?dump=1", 5000); |
byte data[] = HttpUtil.getContent(XmlUtil.SERVICE_BASE + "/LocateStations?dump=1", 5000); |
71 |
Serializer serializer = new Persister(); |
Serializer serializer = new Persister(); |
72 |
stations = serializer.read(StationBean.class, new String(data, "ISO-8859-1") ); |
stations = serializer.read(StationBean.class, new String(data, "ISO-8859-1") ); |