title: Android Toast.makeText() not showing up
body: <p>When the user presses a button, I'd like a small <code>Toast.makeText()</code> message show up saying something like <code>Contacting server...</code> while the app gets some information from my web server.</p>
  
  <p>The problem is that Java's HttpClient.Execute() method is synchronous, so it blocks the Toast from showing up until the request has completed.</p>
  
  <p>Is there way to have the Toast show up while the request is being sent?</p>
  
  <p>e.g.</p>
  
  <pre><code>Toast.makeText(myContext, "Contacting server...", Toast.LENGTH_SHORT).show();
  String result = WebServer.Contact("www.mywebsite.com"); //A wrapper method
  Toast.makeText(myContext, "Result: " + result, Toast.LENGTH_SHORT).show();
  </code></pre>
  
  <p>This code simply flashes the first Toast really fast <strong>after</strong> the request completes and then it shows the second Toast.</p>