Button that launches map activity and also animates/moves Camera to specific location there…

62 Views Asked by At

I have a button that launches a new activity (map activity), and I want it also to animate/move camera to a specific location/place after the new activity(map activity) launches... with the code below it only launches the new activity (map activity).

public void openPlace(View view) {
    Intent intent = new Intent(this, MapsActivity.class);
    startActivity(intent); 
}

I Don't know What code to add (I am New to Coding) thanks in advance

0

There are 0 best solutions below