|
INTERVIEW QUESTIONS
OPERATING SYSTEMS
ANDROID
DETAILS
Question: When is the best time to kill a foreground activity in case of an Android Application?
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.
|
|
|
Category |
Android Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7678 users |
Added on |
7/27/2016 |
Views |
65563 |
Rate it! |
|
|
Question:
When is the best time to kill a foreground activity in case of an Android Application?
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. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Explain Customer Relationship Management (CRM)?
|
View Answer
|
|
What data types are supported by AIDL?
|
View Answer
|
|
What is AIDL?
|
View Answer
|
|
When does ANR occur?
|
View Answer
|
|
What is resistor?
|
View Answer
|
|
Enumerate the steps in creating a bounded service through AIDL.
|
View Answer
|
|
What is the AndroidManifest.xml?
|
View Answer
|
|
What role does Dalvik play in Android development?
|
View Answer
|
|
How can the ANR be prevented?
|
View Answer
|
|
What are the different states wherein a process is based?
|
View Answer
|
|
Enumerate the three key loops when monitoring an activity
|
View Answer
|
|
What is the function of an intent filter?
|
View Answer
|
|
What is the importance of settings permissions in app development?
|
View Answer
|
|
How are escape characters used as attribute in Android Applications?
|
View Answer
|
|
Which elements can occur only once and must be present in Android Applications?
|
View Answer
|
|
What is ANR?
|
View Answer
|
|
What are the four essential states of an activity?
|
View Answer
|
|
What do you think are some disadvantages of Android platform?
|
View Answer
|
|
What is the importance of Android in the mobile market?
|
View Answer
|
|
What is Orientation?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Android Interview Questions & Answers - Exam Mode /
Learning Mode
|