Question: When is the best time to kill a foreground activity?
Answer: The foreground activity, being the most important among the other states, is only killed or terminated as a last resort, especially if it is already consuming too much memory. When a memory paging state has been reach by a foreground activity, then it is killed so that the user interface can retain its responsiveness to the user.
Question: What role does Dalvik play in Android development?
Answer: Dalvik serves as a virtual machine, and it is where every Android application runs. Through Dalvik, a device is able to execute multiple virtual machines efficiently through better memory management.
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: 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 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: How do you remove icons and widgets from the main screen of the Android device?
Answer: To remove an icon or shortcut, press and hold that icon. You then drag it downwards to the lower part of the screen where a remove button appears.