Changes

Jump to: navigation, search
no edit summary
The remainder of this chapter will work through some simple examples intended provide a basic introduction to threads. The first step will be to highlight the importance of performing time-consuming tasks in a separate thread from the main thread. Begin, therefore, by creating a new project in Android Studio, entering ThreadExample into the Application name field and ebookfrenzy.com as the Company Domain setting before clicking on the Next button.
On the form factors screen, enable the Phone and Tablet option and set the minimum SDK setting to API 8: Android 2.2 (Froyo). Continue to proceed through the screens, requesting the creation of a blank activity named ThreadExampleActivity with a corresponding , using the defaults for the layout named activity_thread_exampleand menu resource files.
Click Finish to create the new project

Navigation menu