I'm newbee on android, and already read Android app start and end event and Android onClose event but haven't found the answer.
I'm developing a simple application - flashlight. And I want to release camera LED when application (not activity) is ended. Android has Application onCreate event, but doesn't have an appropriate onEnd/onExit event. Activity OnDestroy event is not the case, because it is raised each time the device changes its orientation.
Does Application have onEnd event?
Does Application have onEnd event?
No. Mostly, that is because applications do not "end". They are either in the foreground, in the background, or their processes are terminated.