Iobates_argy-bargies_imbibed

docx

School

University of Southern California *

*We aren’t endorsed by this school

Course

454

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by ConstableWren9111

Report
Question: Do all mobile phones support the latest Android operating system? Answer: Some Android-powered phone allows you to upgrade to the higher Android operating system version. However, not all upgrades would allow you to get the latest version. It depends largely on the capability and specs of the phone, whether it can support the newer features available under the latest Android version. Question: What do you think are some disadvantages of Android? Answer: Given that Android is an open-source platform, and the fact that different Android operating systems have been released on different mobile devices, there’s no clear cut policy to how applications can adapt with various OS versions and upgrades. One app that runs on this particular version of Android OS may or may not run on another version. Another disadvantage is that since mobile devices such as phones and tabs come in different sizes and forms, it poses a challenge for developers to create apps that can adjust correctly to the right screen size and other varying features and specs. 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 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: How can the ANR be prevented? Answer: One technique that prevents the Android system from concluding a code that has been responsive for a long period of time is to create a child thread. Within the child thread, most of the actual workings of the codes can be placed, so that the main thread runs with minimal periods of unresponsive times.
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 is AIDL? Answer: AIDL, or Android Interface Definition Language, handles the interface requirements between a client and a service so both can communicate at the same level through interprocess communication or IPC. This process involves breaking down objects into primitives that Android can understand. This part is required simply because a process cannot access the memory of the other process. Question: What language is supported by Android for application development? Answer: The main language supported is Java programming language. Java is the most popular language for app development, which makes it ideal even for new Android developers to quickly learn to create and deploy applications in the Android environment.
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