Code example for Message

Methods: setData

0
      } 
    } 
     
    /** If the Handler object is not NULL, send a message to the Activity with the result */ 
    if (handler != null) {
      Message msg = new Message();
      Bundle bundle = new Bundle();
       
      bundle.putString("request_type", (String)result.get("type"));
      bundle.putString("feedback_response", (String)result.get("response"));
      bundle.putString("feedback_status", (String)result.get("status"));
      msg.setData(bundle);
       
      handler.sendMessage(msg);
    } 
  } 
   
  /** 
   * POST/PUT 
   * @param httpClient 
Connect your IDE to all the code out there  Get Codota for Java