I am able to update UI using runOnUiThread(new Runnable() { .

I think there is another way to update UI using Handler. Could you please tell me how I will update UI using handler.

I used like that 

```
@Override
public void getWebserviceResponse(final String result) {
    // TODO Auto-generated method stub
    runOnUiThread(new Runnable() {

        @Override
        public void run() {
            // TODO Auto-generated method stub
            refreshUi(result);
        }
    });

}

```

same thing how I will achieve with handler ?

**Update** 

```
private Handler messageHandler = new Handler() {
        public void handleMessage(Message msg) {
            final int what = msg.what;
            switch(what) {
            case DO_UPDATE_TEXT: doUpdate(); break;

            }

        }
    };

@Override
    public void getWebserviceResponse(final String result) {

        messageHandler.sendEmptyMessage(DO_UPDATE_TEXT);

    }

```

I need to send **String result** with **DO\_UPDATE\_TEXT**