Daemonurgy_dibble_fromenties

docx

School

Northern Virginia Community College *

*We aren’t endorsed by this school

Course

232

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by DoctorSnakePerson1077

Report
Question: What is the Android Architecture? Answer: Android Architecture is made up of 4 key components: Linux Kernel, Libraries, Android Framework, Android Applications Question: What is AIDL? Answer: AIDL, or Android Interface Definition Language, handles the interface requirements between a client and a service so both can communicate at the same level through interprocess communication or IPC. This process involves breaking down objects into primitives that Android can understand. This part is required simply because a process cannot access the memory of the other process. Question: Which elements can occur only once and must be present? Answer: Among the different elements, the “and” elements must be present and can occur only once. The rest are optional, which can occur as many times as needed. Question: What is the AndroidManifest.xml? Answer: This file is essential in every application. It is declared in the root directory and contains information about the application that the Android system must know before the codes can be executed. 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 composes a typical Android application project? Answer: A project under Android development, upon compilation, becomes an .apk file. This apk file format is actually made up of the AndroidManifest.xml file, application code,
resource files, and other related files. Question: Enumerate the steps in creating a bounded service through AIDL. Answer: 1. create the .aidl file, which defines the programming interface, 2. implement the interface, which involves extending the inner abstract Stub class as well as implanting its methods, 3. expose the interface, which involves implementing the service to the clients. Question: What language is supported by Android for application development? Answer: The main language supported is Java programming language. Java is the most popular language for app development, which makes it ideal even for new Android developers to quickly learn to create and deploy applications in the Android environment.
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