@waldo
Honestly I don’t know if this work work, but I’m doubtful. Also, in Android, I don’t think you can guarantee that a background service is always running, last time I worked in Android the OS could preempt your service and shut it down if it thought it needed to for low power conditions. Maybe this is not the case for Android TV boxes that are constantly powered … I’m not sure?
Thanks, Robert