Pause and resume events in PhoneGap application
If you use pause and resume events in your PhoneGap application, keep in mind, that these are fired for every situation, when your application goes to background.
Not only, when user presses
Home button, but also when for example a calendar notice popus up.
Turning device screen off and on again also counts as loosing your app to background, so it will also cause PhoneGap to fire pair of