Fire event when 3rd party app opened?

When this happens, your own app is not active amymore, so you have to listen somehow to that in the background... for background tasks there is the itoo extension

However currently I do not know how this could be done...

Taifun