Stef8600
New member
When an app is suspending (sleeping) the developer can act on that signal. So what they can do is eg. releasing memory, deactivating the camera.
Once the app comes back to the foreground it get's in the state resuming. If the developer released some memory by disposing some in memory data, or deactivated the camera, coming into the the resume state is the moment to get everything back available for the user.
So some of the actions taken by the developer in the resume state can take up some time. It has no sense eg. to show the userinterface of the camera app, if the camera is not yet ready to capture images. Sometimes an app has to wait for the hardware to react.
Once the app comes back to the foreground it get's in the state resuming. If the developer released some memory by disposing some in memory data, or deactivated the camera, coming into the the resume state is the moment to get everything back available for the user.
So some of the actions taken by the developer in the resume state can take up some time. It has no sense eg. to show the userinterface of the camera app, if the camera is not yet ready to capture images. Sometimes an app has to wait for the hardware to react.