title: How to create a Toast from a class
body: <p>I have a new project - MyProject.  In that project I have the class <code>MyProject</code> and another class <code>uTorrent</code>.  How do I show a toast from the uTorrent class?  When I try this:</p>
  
  <pre><code>Toast toast = Toast.makeText(getApplicationContext(), e.getMessage(), Toast.LENGTH_LONG);
  </code></pre>
  
  <p>I get this error: </p>
  
  <blockquote>
    <p>The method getApplicationContext() is undefined for the type uTorrent</p>
  </blockquote>
  
  <p>Thanks</p>