Play Button Question

Is there a way to programmically know when the play button on the phone is pressed? My project right now uses an IR sensor and virtual LEDs. If the app resets, the initial state of the LEDs is the same as the state they were in when the app closed. I am trying to reset them when the play button is pressed. Any help would be appreciated. Thanks

There is no such feature for now. But you can hack it…
Right now, you could put a Value Display widget to a virtual pin, and refresh 5 seconds or so.
Then in the code you could see if this BLYNK_WRITE is firing.
If it didn’t fire for some 11 seconds, it means App is not there again :slight_smile:

Ok, I’m doing something similar to that now. Thank you!