Tallowed_phorcys_sulphurity

.docx

School

Princeton University *

*We aren’t endorsed by this school

Course

325

Subject

Computer Science

Date

May 7, 2024

Type

docx

Pages

2

Uploaded by baloyimal on coursehero.com

Question: What is adb? Answer: Adb is short for Android Debug Bridge. It allows developers the power to execute remote shell commands. Its basic function is to allow and control communication towards and from the emulator port. Question: What is the difference between a regular bitmap and a nine-patch image? Answer: In general, a Nine-patch image allows resizing that can be used as background or other image size requirements for the target device. The Nine-patch refers to the way you can resize the image: 4 corners that are unscaled, 4 edges that are scaled in 1 axis, and the middle one that can be scaled into both axes. Question: What is the importance of settings permissions in app development? Answer: Permissions allow certain restrictions to be imposed primarily to protect data and code. Without these, codes could be compromised, resulting to defects in functionality. 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: When does ANR occur? Answer: The ANR dialog is displayed to the user based on two possible conditions. One is when there is no response to an input event within 5 seconds, and the other is when a broadcast receiver is not done executing within 10 seconds. 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 an action? Answer: In Android development, an action is what the intent sender wants to do or expected to get as a response. Most application functionality is based on the intended action. Question: What is a Fragment? Answer: A fragment is a part or portion of an activity. It is modular in a sense that you can move around or combine with other fragments in a single activity. Fragments are also reusable.
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