title: Android: how to send object from BroadcastReceiver to running Activity
body: <p>I have a class that extends <code>BroadcastReceiver</code> that reads new sms</p>
  
  <pre><code>public class SmsReceiver extends BroadcastReceiver
  {
     // reading sms
     // I want to send the sms text to my main activity
  }
  </code></pre>
  
  <p>And have another class in the same app that is my main <code>Activity</code>.
  So when I receive new sms, I want to send its content to my main Activity that is already running and display it.
  How can I do that?
  I would be thankful for some code samples :)</p>