Access Application Context from class that doesn't extend Activity/Service
<p>I handle login for my application in a class that extends application. The application then maintains an object of this class at all times. This means that I can access that specific object from any class that extends activity or service by calling </p>

<pre><code>LoginModeller lm = ((LoginModeller)getApplicationContext());
</code></pre>

<p>However, I now need to access the object from a class that does not extend activity or service (It extends nothing). Is there some way to access the application context from a class like this, or I do have to re-factor my <code>LoginModeller</code> as a singleton or something?  </p>
