title: Having trouble starting an activity from Google Map
body: <p>I have a MapFragment in my app. As soon as the Map is loaded, I am ploting certain markers. Next, i want to create a new FragmentActivity when the user touches one of the markers. For which, I have used the setOnMarkerClickListener() as shown,</p>
  
  <pre><code>gmap.setOnMarkerClickListener(new OnMarkerClickListener() {
          @Override
          public boolean onMarkerClick(Marker arg0) {
              // TODO Auto-generated method stub
                  startActivity(new Intent(this, AdaptorMain.class));
                  return false;
              }
          });
  </code></pre>
  
  <p>I am getting the following error:</p>
  
  <pre><code>The constructor Intent(new GoogleMap.OnMarkerClickListener(){}, Class&lt;AdaptorMain&gt;) is undefined
  </code></pre>
  
  <p>I have registered the activity in the Manifest file.</p>