So the question is pretty clear. Is it possible to destroy a custom Application object (the one that I declare in AndroidManifest.xml ) of a previously launched Service , provided that the Service not running in another process?
My intuition says that this is impossible, since we can access the Application object in the Service by calling getApplication() , plus I have not seen anything like this in the documentation, but Android is full of unexpected funny behaviors.
android android-lifecycle android-service
Alexander Woodblock
source share