1

Is it safe to kill all background processes in Android from a service?

view story
linux-howto

http://stackoverflow.com – I am trying to do safe process killing for salvaging memory. Is it safe to kill all background processes in a an activity by calling either ActivityManager.killBackgroundProcesses or IActivityManager.killAllBackgroundProcesses? I know it is painful in case one of the killed processes needs to be restarted, but is it safe? Is it possible that something crucial to system performance or user/system data will be lost? (HowTos)