I searched google and unable to find the correct way to achieve this. I have to add two google maps activity to my application. Already merged the manifest. Here is the tricky part, I want one map with direction api enabled, and the other without. Now if I click on the marker, a button shows up in the map where I want the direction api and that's fine. But it is the same with the other one. What is the solution here? Any suggestions will work! Do I need to get another key for thr map?
You have to override onMarkerClick method. See documentation: https://developers.google.com/maps/documentation/android-sdk/marker#marker_click_events