How to use background thread for inline operation in android
<p>I have the following program flow:</p>

<ol>
<li>User fills in form</li>
<li>My app generates a number of records via a content provider which may take some time (say 10 seconds)</li>
<li>The user can then continue with the program</li>
</ol>

<p>I have 2 questions:</p>

<ol>
<li><p>Why use a non-UI thread to perform step 2 - given that the user can do nothing in my application until this process has been completed, why don't I just use a waiting widget?</p></li>
<li><p>If I should use a non UI thread - which type of asynchronous thread approach would make the most sense?</p></li>
</ol>
