Burseed_hell-hatched_flexographically

.docx

School

CUNY Queens College *

*We aren’t endorsed by this school

Course

502

Subject

Computer Science

Date

May 7, 2024

Type

docx

Pages

2

Uploaded by CountSheep3864 on coursehero.com

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: What is the proper way of setting up an Android-powered device for app development? Answer: The following are steps to be followed prior to actual application development in an Android-powered device: -Declare your application as “debuggable” in your Android Manifest. -Turn on “USB Debugging” on your device. -Set up your system to detect your device. Question: Differentiate Activities from Services. Answer: Activities can be closed, or terminated anytime the user wishes. On the other hand, services are designed to run behind the scenes, and can act independently. Most services run continuously, regardless of whether there are certain or no activities being executed. Question: What is the importance of having an emulator within the Android environment? Answer: The emulator lets developers “play” around an interface that acts as if it were an actual mobile device. They can write and test codes, and even debug. Emulators are a safe place for testing codes especially if it is in the early design phase. Question: What items are important in every Android project? Answer: These are the essential items that are present each time an Android project is created: AndroidManifest.xml, build.xml, bin/, src/, res/, assets/ Question: What is the use of an activityCreator? Answer: An activityCreator is the first step towards the creation of a new Android project. It is made up of a shell script that will be used to create new file system structure necessary
for writing codes within the Android IDE. 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: How are escape characters used as attribute? Answer: Escape characters are preceded by double backslashes. For example, a newline character is created using ‘\\n’
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