コード例 #1
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.graph);

    plot.initialize(this, settingsHelper, resourceHelper);
  }
コード例 #2
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    noteOverlay.setContext(this);

    setContentView(R.layout.heat_map);

    mapView.getOverlays().add(routeOverlay);
    mapView.getOverlays().add(traceOverlay);

    if (!sessionManager.isSessionSaved()) {
      mapView.getOverlays().add(locationOverlay);
    }
  }