Open lmk07 opened 2 years ago
Hey, what do you mean by "i need to check, if the app is active or ideal state" and why do you need to check that? When the app goes into the background the onPause() method is called before the app "disappears" from the screen. If you close the app completely the onDestroy() method is called and is in idle state.
In your context the app is in the Pause-State.
hi I'm having the android application. i will be putting the application to background. now i need to check, if the app is active or ideal state. for example : some application may do some operation even though its in background, like playing Audio or Video or downloading.