3. Libraries The Android UI toolkit is not thread-safe. What does it mean that the library is not thread-safe and what is true about the Android library? You don't have to worry about where you call the UI toolkit methods from. You can not reliably call operations in the library from more than one thread at a time. The android library does not allow you to call from any thread other than the UI Thread. If you put a lock to protect the code you can call the UI toolkit from anywhere. 4. Application Environments .. It is not uncommon for Windows and Mac applications to stall the user interface thread during network operations. Why is this more of an issue in Android than in those environments? In windows and the Mac you can easily have more than one applicatin open at a time. If a program stalls you can easily go do something else. Android has more of a one-at-a-time usage model, so stalling the interface pretty much stalls the user. O 000

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

10.

 

3. Libraries
The Android UI toolkit is not thread-safe.
What does it mean that the library is not thread-safe and what is true about the Android library?
You don't have to worry about where you call the UI toolkit methods from.
You can not reliably call operations in the library from more than one thread at a time.
The android library does not allow you to call from any thread other than the UI Thread.
If you put a lock to protect the code you can call the UI toolkit from anywhere.
4. Application Environments.,
It is not uncommon for Windows and Mac applications to stall the user interface thread during network operations. Why is this more of an issue in Android than in those environments?
In windows and the Mac you can easily have more than one applicatin open at a time.
If a program stalls you can easily go do something else.
Android has more of a one-at-a-time usage model, so stalling the interface pretty much stalls the user.
O 0 00
Transcribed Image Text:3. Libraries The Android UI toolkit is not thread-safe. What does it mean that the library is not thread-safe and what is true about the Android library? You don't have to worry about where you call the UI toolkit methods from. You can not reliably call operations in the library from more than one thread at a time. The android library does not allow you to call from any thread other than the UI Thread. If you put a lock to protect the code you can call the UI toolkit from anywhere. 4. Application Environments., It is not uncommon for Windows and Mac applications to stall the user interface thread during network operations. Why is this more of an issue in Android than in those environments? In windows and the Mac you can easily have more than one applicatin open at a time. If a program stalls you can easily go do something else. Android has more of a one-at-a-time usage model, so stalling the interface pretty much stalls the user. O 0 00
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Avoiding deadlock
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education