adspace


When is the best time to kill a foreground activity?

Answer Posted / Renu Paras

The Android system can kill a foreground activity when it needs to free up resources, such as when memory is low. However, developers can also proactively kill a foreground activity by finishing() or calling System.exit(). It's generally recommended to let the system handle activity lifecycle management whenever possible.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the latest version of android?

1088


Which is the latest version of android os?

1048


What did you like better, ice cream sandwich or kitkat?

978


What all devices have you worked on?

1058