check android application is in foreground or not?
<p>I went through a lot of answers for this question.But it's all about single activity..How to check whether the whole app is running in foreground or not ?</p>
