Android - How to check my app is open when receive a push-notification?
<p>I need best solution. When I received a push notification, I want to know if my app is open or not, because if my application is open when the user onClick the notification I want to call specific method, but if the application is close I want to open the application.</p>