Amoebiform_zoharite_tugboat

docx

School

Stanford University *

*We aren’t endorsed by this school

Course

1206

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by UltraField13317

Report
Question: What role does Dalvik play in Android development? Answer: Dalvik serves as a virtual machine, and it is where every Android application runs. Through Dalvik, a device is able to execute multiple virtual machines efficiently through better memory management. Question: What data types are supported by AIDL? Answer: AIDL has support for the following data types: -string, -charSequence, -List, -Map, - all native Java data types like int, long, char and Boolean Question: How are escape characters used as attribute? Answer: Escape characters are preceded by double backslashes. For example, a newline character is created using ‘\\n’ Question: How can the ANR be prevented? Answer: One technique that prevents the Android system from concluding a code that has been responsive for a long period of time is to create a child thread. Within the child thread, most of the actual workings of the codes can be placed, so that the main thread runs with minimal periods of unresponsive times. Question: What are the core components under the Android application architecture? Answer: There are 5 key components under the Android application architecture: – services – intent – resource externalization – notifications – content providers Question: What is a Sticky Intent? Answer: A Sticky Intent is a broadcast from sendStickyBroadcast() method such that the intent floats around even after the broadcast, allowing others to collect data from it.
Question: What is the importance of Default Resources? Answer: When default resources, which contain default strings and files, are not present, an error will occur and the app will not run. Resources are placed in specially named subdirectories under the project res/ directory. Question: When dealing with multiple resources, which one takes precedence? Answer: Assuming that all of these multiple resources are able to match the configuration of a device, the ‘locale’ qualifier almost always takes the highest precedence over the others.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help