Is there a way to recognize when a third-party app opens on screen?
I would like to recognize on Android when Skype has an incoming call. Skype will pop up a full page screen announcing the incoming call.
If the call is missed Skype posts a notification of the missed call. I use Erel's NotificationListener to detect this missed call notification and I flash some Wi-Fi connected light bulbs. The problem is this is a "missed call notification", so the other party has already hung up. Skype currently does not have an "incoming call notification".
I would hope that there is something like the NotificationListener that I could use to detect when Skype opens the page announcing an incoming call. I would then use this to flash the light bulbs.
Is it possible to detect a third-party app opening? Can anyone point me in the right direction?
Thanks,
Barry.
I would like to recognize on Android when Skype has an incoming call. Skype will pop up a full page screen announcing the incoming call.
If the call is missed Skype posts a notification of the missed call. I use Erel's NotificationListener to detect this missed call notification and I flash some Wi-Fi connected light bulbs. The problem is this is a "missed call notification", so the other party has already hung up. Skype currently does not have an "incoming call notification".
I would hope that there is something like the NotificationListener that I could use to detect when Skype opens the page announcing an incoming call. I would then use this to flash the light bulbs.
Is it possible to detect a third-party app opening? Can anyone point me in the right direction?
Thanks,
Barry.