How to make a callback from a Service to an Activity
<p>Sorry for bugging you again, but I still can't find a way to make a callback from my activity to a service... </p>

<p>Found a similar question - <a href="http://stackoverflow.com/questions/3398363/how-to-define-callbacks-in-android">How to Define Callbacks in Android?</a></p>

<pre><code>// The callback interface
interface MyCallback {
    void callbackCall();
}

// The class that takes the callback
class Worker {
   MyCallback callback;

   void onEvent() {
      callback.callbackCall();
   }
}

// Option 1:

class Callback implements MyCallback {
   void callback() {
      // callback code goes here
   }
}

worker.callback = new Callback();
</code></pre>

<p>yet not sure how to integrate that sample into my project.</p>

<p>Any suggestions or links to clear tutorials would be great!</p>
