title: Sending Message from Service to Activity
body: <p>I have a Service and i try to send message to my primary Activity just like this:</p>
  
  <pre><code>public void callAsynchronousTask() {
      final Handler handler = new Handler();
      Timer timer = new Timer();
      TimerTask doAsynchronousTask = new TimerTask() {
          @Override
          public void run() {
              handler.post(new Runnable() {
                  public void run() {
                      try {
                          Message m = new Message();
                          m.arg1 = 10;
                          m.arg2 = 15;
                          handler.sendMessage(m);
                          Log.i("Sent", "!");
  
                      } catch (Exception e) {}
                  }
              });
          }
  
  };
  timer.schedule(doAsynchronousTask, 0, 3000); 
  }
  </code></pre>
  
  <p>How can i fetch this message data in my Activity ?</p>