How to use OnMarkerClick to open a new activity for google map Android api
<p>I'm try to use startActivity, but it doesn't work.</p>

<p>This is my code:</p>

<p><a href="https://i.stack.imgur.com/2hF6x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2hF6x.png" alt="enter image description here"></a></p>

<p>setOnMarkerClickListener:</p>

<p><a href="https://i.stack.imgur.com/Wpxn8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Wpxn8.png" alt="enter image description here"></a></p>