title: In Android: How to Call Function of Activity from a Service?
body: <p>I have an Activity (A) and a Service (S) which gets started by A like this:</p>
  
  <pre><code>Intent i = new Intent();
  i.putExtra("updateInterval", 10);
  i.setClassName("com.blah", "com.blah.S");
  startService(i);
  </code></pre>
  
  <p>A have a function like this one in A:</p>
  
  <pre><code>public void someInfoArrived(Info i){...}
  </code></pre>
  
  <p>Now I want to call A.someInfoArrived(i) from within S.
  Intent.putExtra has no version where I could pass an Object reference etc ... 
  Please help!</p>
  
  <p>PS: The other way around (A polling S for new info) is NOT what I need. I found enough  info about how to do that. </p>