title: how to send message from service to activity
body: <p>I build an AsyncTask that create a service and now I want to sent from service to AsyncTask message.
  my code on the AsyncTask is:</p>
  
  <pre><code>  class ResponseHandler extends Handler {
    public void handleMessage(Message message) {
         // Toast.makeText(this, "message from service",Toast.LENGTH_SHORT).show();
   }
  </code></pre>
  
  <p>hope that it  will handle the message from service correct my if I wrong.</p>
  
  <p>and from service tried to do this</p>
  
  <pre><code>     Message message = Message.obtain(null, MyService.ADD_RESPONSE_HANDLER);
       message.replyTo = messenger;
        try {
               myService.send(message);
               catch (RemoteException e) {
               e.printStackTrace();
           }
  </code></pre>
  
  <p>but my errors are cannot find symbol  in lines:</p>
  
  <pre><code> MyService.ADD_RESPONSE_HANDLER
    message.replyTo = messenger;
    try {
    myService.send(message);
  </code></pre>
  
  <p>What do I need to add? Please give me a code that will do the work. thanks a lot.</p>