Page 1 of 1

Flashlight trigger?

Posted: 31 Jan 2014 01:04
by colabi
I try to detect when "Flashlight" notification is selected from statusbar, that apear after action: Flashlight on.

For that I try to use a
trigger: Activity Ended
package name: ch.gridvision.ppam.androidautomagic
class name: ch.gridvision.ppam.androidautomagic.FlashlightActivity

but is not triggered after notification is selected.
It is the right way? (ICS 4.0.4)

Re: Flashlight trigger?

Posted: 31 Jan 2014 17:41
by Martin
The flashlight activity is not used anymore on versions of Android 3 or newer.

It's probably not possible to detect this currently. It's on my todo-list to add a new trigger that will be able to detect when a notification is removed but this might still take some time until it becomes available.