Closed GoogleCodeExporter closed 9 years ago
Hello,
While this is unfortunate, it is actually working as intended and part of
Android's process management:
http://developer.android.com/reference/android/app/Activity.html#ProcessLifecycle
Best,
Alain
Original comment by ala...@google.com
on 16 Apr 2014 at 7:56
Would it be possible to register a callback that notifies me that device is
heating up? I can then use this callback to shutdown some of the services
gracefully
Original comment by eug...@wearableintelligence.com
on 18 May 2014 at 10:54
You should be able to get the information that your app is being forced killed
with the Activity#onDestroy() callback:
http://developer.android.com/reference/android/app/Activity.html#onDestroy()
Original comment by ala...@google.com
on 19 May 2014 at 4:01
I'd have to check if it is me closing it. That's very cumbersome. Is there
a way to get the reason/source of closing?
Original comment by eug...@wearableintelligence.com
on 19 May 2014 at 4:14
Original issue reported on code.google.com by
eug...@wearableintelligence.com
on 16 Apr 2014 at 6:53