Pantiling_unhabitual_probands

docx

School

University of Texas, Dallas *

*We aren’t endorsed by this school

Course

002

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by saikamalb

Report
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: What is a visible activity? Answer: A visible activity is one that sits behind a foreground dialog. It is actually visible to the user, but not necessarily being in the foreground itself. 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: 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: Is it possible to use or add a fragment without using a user interface? Answer: Yes, it is possible to do that, such as when you want to create a background behavior for a particular activity. You can do this by using add(Fragment,string) method to add a fragment from the activity. Question: When is the onStop() method invoked? Answer: A call to onStop method happens when an activity is no longer visible to the user, either because another activity has taken over or if in front of that activity.
Question: What are Intents? Answer: Intents displays notification messages to the user from within the Android enabled device. It can be used to alert the user of a particular state that occurred. Users can be made to respond to intents. Question: What are the four essential states of an activity? Answer: Active – if the activity is at the foreground, Paused – if the activity is at the background and still visible, Stopped – if the activity is not visible and therefore is hidden or obscured by another activity, Destroyed – when the activity process is killed or completed terminated
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