How to add tabbar in doinbackground asynctask in android
<p>How to add tabbar in doinbackground asynctask  in android? or how to run splash screen in thread ?  .I want to show progress dialog  or splash screen until tab bar is loaded from calling tabbar class I am calling webservices and parsing value take time for few mins mean time I have to show progessbar or splash screen can anybody tell how to implement? can anybody give sample code?
I tried but its not working</p>

<p>dlg = ProgressDialog.show(this, "Working..", "Downloading Data...", true, false); </p>

<pre><code> Thread splashThread = new Thread() { 
        @Override
        public void run() { 
           try { 

                sleep(100000); 



           } catch (InterruptedException e) { 
              // do nothing 
           } finally { 

           } 
        } 
     }; 
     splashThread.start(); 
</code></pre>
