title: Android start activity
body: <p>I am using MonoDevelop for Android with the MapsAndlocationDemo and I have a question about starting another activity.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    public void loadActivity (Context ActivityContext)
      {
          var second = new Intent(ActivityContext, typeof(LocationDetailsActivity));
          second.PutExtra("FirstData", "Data from FirstActivity");
          StartActivity (second);
      }
  </code></pre>
  
  <p>This code works perfectly when called from the <code>MapWithOverlayActivity : MapActivity</code> class. I am wanting to call it from the <code>MapItemizedOverlay: ItemizedOverlay</code> class when the <code>OnTap</code> method of a map marker is called.</p>
  
  <p>I have tried to make the method static. Here is my code for this:</p>
  
  <pre><code>    static public void loadActivity (Context ActivityContext)
      {
          var second = new Intent(ActivityContext, typeof(LocationDetailsActivity));
          second.PutExtra("FirstData", "Data from FirstActivity");
          StartActivity (second);
      }
  </code></pre>
  
  <p>However, I now get the following error: <code>An object reference is required for the non-static field, method or property Android.Content.Context.StartActivity(Android.Content.Intent)</code></p>
  
  <p>Can I please have some information as to why this does not work, and some help to get it working.</p>