Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Chapter 6 Android Boot-camp 3rd edition Developer FAQs 1. What is the name of th

ID: 3877585 • Letter: C

Question

Chapter 6 Android Boot-camp 3rd edition

Developer FAQs

1. What is the name of the initial window that typically displays a company logo for a few seconds?

2. Which property of TextView displays a solid color behind the text?

3. Which property of TextView displays an image as a backdrop behind the text?

4. Write a line of code that creates an instance of the TimerTask class with the object named welcome.

5. Write a line of code that creates an instance of the Timer class with the object named stopwatch.

6. Write a line of code that would hold the initial opening screen for four seconds. The Timer object is named stopwatch and the TimerTask object is named welcome.

7. How long (identify units) does this statement schedule a pause in the execution? logo.schedule(task, 3000);

8. Write a line of code that closes the resources of the existing Activity.

9. Typically, which method begins an Activity?

10. Typically, which method releases the resources used within an Activity and ends the Activity?

Explanation / Answer

1. Splash screen is initial window name that typically displays a company logo for a few seconds.

2.android.background="Hexadecimal Colour String Name " this property is used to displays a solid color behind the text. (e.g <TextView android.background=#9932CC />

3. background property of TextView displays an image as a backdrop behind the text.

4. TimerTask welcome = new TimerTask() will creates an instance of the TimerTask class with the object named welcome.

5.Timer stopwatch = New Timer() will creates an instance of the Timer class with the object named stopwatch.

6.stopwatch.schedule(welcome, 4000) will hold the initial opening screen for four seconds. The Timer object is named stopwatch and the TimerTask object is named welcome.

7. logo.schedule(task,3000) this statement schedule a pause in the execution3 milliseconds.

8. by using Finish() method will closes the resources of the existing Activity.

9. by using onCreate() method begins an Activity.

10.by using onDestroy() method releases the resources used within an Activity and ends the Activity.