My application fetches some html code from the internet and when done , displays it on the devices screen. Since it takes about 3-4 seconds to do that , in this time the scr
You need to do this way
runOnUiThread(new Runnable() { public void run() { // Do Your Stuff }});