Wild-Flying Camouflaged Bondhold
Wild-Flying Camouflaged Bondhold
Wild-Flying Camouflaged Bondhold
Answer: These are the essential items that are present each time an Android project is
created: AndroidManifest.xml, build.xml, bin/, src/, res/, assets/
Answer: AAPT is short for Android Asset Packaging Tool. This tool provides developers with
the ability to deal with zip-compatible archives, which includes creating, extracting as well
as viewing its contents.
Answer: Escape characters are preceded by double backslashes. For example, a newline
character is created using ‘\\n’
Answer: The use of XML-based layouts provides a consistent and somewhat standard
means of setting GUI definition format. In common practice, layout details are placed in XML
files while other items are placed in source files.
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: Enumerate the three key loops when monitoring an activity
Answer: Entire lifetime – activity happens between onCreate and onDestroy, Visible lifetime
– activity happens between onStart and onStop, Foreground lifetime – activity happens
between onResume and onPause
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.