Is there an event to check if c2 is suspended/resumed in phoneGap?
I don't think such a condition would ever run, because events stop running when the app is suspended! What were you planning to use it for? Is there a trigger or something that runs while suspended?
I'm using the Low Latency audio plugin and on android the music keeps playing even when the application is not on screen, I need something like what you've done for the native audio plugin of phonegap.
Develop games in your browser. Powerful, performant & highly capable.
I've added some on suspend/resume triggers to my todo list, but it should be fixed from the plugin really.