Is it OK to use a static member in an IntentService to facilitate passing received data to an Activity?
<p>I have class that extends 'IntentService' - this class occasionally receives data from a server, and when it does I need to pass this data to the current running Activity.</p>

<p>To achieve this, I've added a static instance of my Activity to the IntentService, along with a <code>registerRecipient</code> method that the Activity calls, passing in <code>self</code>.  When the IntentService gets a message from the server, it just calls the appropriate notification method on its static instance of the Activity (in which I set an <code>EditText</code> view's text property via <code>runOnUiThread</code>).</p>

<p>Aside from the general problem of using static variables instead of instances, is this a sound way to do this?  One of my colleagues suggested that this static instance is still subject to being garbage-collected, which would hose the whole scenario.</p>
