title: can i sendBroadcast from class extend AsyncTask?
body: <p>I have a class that extends the AsyncTask.</p>
  
  <p>When the doing background task done, in post executed i get the static properties of other class to equal the result of doing background, n I WANT TO BROADCAST IT OUT SO THAT the on receiver in other class will be update interface </p>
  
  <p>here the code of the onPostExecuted</p>
  
  <pre><code>protected void onPostExecute(String result) {
      Log.d(tag, "post executed "+result);
      // do sth here
  
      if (result != null){
          result = result.trim();
          String temp_result[];
          if ( result.contains("|") ){
              temp_result = result.split("\\|");
              MyGPS.location_info = temp_result[1];//
              Log.d(result, "contains | : "+MyGPS.location_info);
          }else if (result.equalsIgnoreCase("300 OK")){
              Log.d(result, "in 300 OK BUT UNKNOWN : "+ result);
              MyGPS.location_info = "Unknown";
          }else if (result.equalsIgnoreCase("400 ERROR"))
              Log.d(result, "400 ERROR : "+ result);
          else Log.d(result, "else : "+ result);
  
          //assemble data bundle to be broadcasted
          //myFilteredResponseThread = new Intent(GPS_FILTER);
          myFilteredResponseThread.putExtra("location_info_post", 
  
  MyGPS.location_info);
                      // CAN"T USE SEND BROADCAST METHOD ?
  
  
          //myFilteredResponseThread.
          //Log.e("&gt;&gt;GPS_Service&lt;&lt;", "location_info"+MyGPS.location_info);
      }   
  }
  </code></pre>
  
  <p>after that i can't write sendBroadcast method , it is undefined whY?</p>