Is there any way to detect the pause state of the activity that has been started with startActivityForResult in Android.
I am launching the camera app in android to start recording a video however, after taking the video if the user doesn't click on either ok or cancel and simply clicks on the home button i would like to capture that event and delete the video taken and kill the camera. Is it possible in android?