Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] #3244 - Fixing Camera activity call
Browse files Browse the repository at this point in the history
  • Loading branch information
bleege committed Dec 15, 2015
1 parent bed5794 commit de4c452
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected void onCreate(Bundle savedInstanceState) {
actionBar.setDisplayShowHomeEnabled(true);
}

mMapView = (MapView) findViewById(R.id.mapView);
mMapView = (MapView) findViewById(R.id.cameraMapView);
mMapView.setAccessToken(ApiAccess.getToken(this));
mMapView.setStyle(Style.MAPBOX_STREETS);
mMapView.onCreate(savedInstanceState);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,9 @@ public boolean onNavigationItemSelected(MenuItem menuItem) {
startActivity(new Intent(getApplicationContext(), InfoWindowAdapterActivity.class));
return true;

case R.id.camera:
case R.id.action_camera:
startActivity(new Intent(getApplicationContext(), CameraActivity.class));
return true;

case R.id.action_tilt:
startActivity(new Intent(getApplicationContext(), TiltActivity.class));
Expand Down

0 comments on commit de4c452

Please sign in to comment.