How to pass values from MapOverlay
<p>I want to pass the values from <em>MapOverlay</em> class to another class. I tried to use an Intent </p>

<pre><code>Intent i = new Intent(getApplicationContext(), AnotherClass.class);
i.putExtra("value1", x1);
i.putExtra("value2", y1);
startActivity(i);
</code></pre>

<p>but Eclipse alerts me "The method getApplicationContext() is undefined for the type MapOverlay" so I can't use this method to pass the values. Please advise me on how I should do this.</p>

<p>Thanks in advance.</p>
