Android: TRying to show text saying sending when HttpClient sends message to server
<p>I have a simple program that aks questions then call a php file saying if the answer was  a yes or a no.</p>

<p>Right now it works but there is a slight pause when the information is being send.  I would like some kind message or indicator to come up showing the computer is busy.</p>

<p>Now when I chnage the text of a textvue, before I send the data, the textView does not change, I allso tried to call it's update methed</p>

<p>code</p>

<pre><code>case R.id.butYes:
                mSend .setText("Sending your vote to server");
                mSend.invalidate();
                 TalkToServer( mYes[mPes-1] );
                UpdateScreen(); 
                mSend .setText("");
                break;

       String TalkToServer( String addr)
       {   
           HttpClient httpclient = new DefaultHttpClient();
           HttpPost  httppost = new HttpPost(addr);

            HttpResponse response;
            String responseBody=new String("");
            try {
                response = httpclient.execute(httppost);



responseBody = EntityUtils.toString(response.getEntity());
            } catch (ParseException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }

           return responseBody;
       }
</code></pre>
