34,333
edits
Changes
→Summary
</pre>
== Summary Summary ==
This chapter has provided an overview of threading within Android applications. When an application is first launched in a process, the runtime system creates a main thread in which all subsequently launched application components run by default. The primary role of the main thread is to handle the user interface, so any time consuming tasks performed in that thread will give the appearance that the application has locked up. It is essential, therefore, that tasks likely to take time to complete be started in a separate thread.
<htmlet>androidstudio32</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%"><tr>