title: Using Intent from non-activity class
body: <p>I have three classes one main-activity(named MainMap), one non-activity class(named MyItemizedOverlay), and one activity class(named AudioStream).
  I want to start AudioStream activity from non-activity class but i don't know how to.
  i tried 
            this is in third class(called MyItemizedOverlay):</p>
  
  <pre><code>            Intent myIntentA = new Intent(MainMap.this, AudioStream.class);
              myIntentA.putExtra(AUDIO_STREAM,AUDIO_STREAM_URL);
              MojProg.this.startActivity(myIntentA);
  </code></pre>
  
  <p>but it doesn't work, says: No enclosing instance of the type MainMap is accessible in scope</p>
  
  <p>What should i do? What shoul i write instead of MainMap.this?</p>