Beispiel #1
0
  public void view_near() {
    try {
      mDbHelper.populateStations(stations.getHome().getPoint(), stations.getHome().getRadius());
      populateList(false);
      if (!infoLayer.isPopulated()) {
        StationOverlay current = stations.getCurrent();
        if (current != null) {
          infoLayer.inflateStation(current);
          current.setSelected(true, this.getBike);
        } else {
          infoLayer.inflateMessage(getString(R.string.no_bikes_around));
        }
      }
    } catch (Exception e) {

    }
    ;
  }