I have developed a android application using phonegap. I have registered certain recievers which get invoked as per my needs. Now the issue which i am facing is that if my application is already open then the reciever is opening the activity again. It happens because i coded in such a way. But suppose if my application was close then there is no issue.
So i think so i need to check whether the activity is open and then open it accordingly. Any suggestions?