Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android process still alive after finishing activities

My application launches 3 activities. When I want to exit, I close these 3 activities calling finish method. The activity onDestroy methods are then called but the process is still alive... How is it possible ?

like image 266
Arutha Avatar asked Jul 15 '11 13:07

Arutha


1 Answers

This is perfectly normal. Android will keep your process around until such time as it needs to reclaim that process' memory. That way, if the user immediately returns to your application, your application will appear quicker -- Android does not have to fork a process and load your application into memory.

like image 77
CommonsWare Avatar answered Sep 24 '22 13:09

CommonsWare