question

Alexander Fillips avatar image
Alexander Fillips asked

Music App / handle Standby Mode / Daydream

Hi, i was informed that my app does not react to the "SCREEN_OFF" Intent. So the music still plays even if the user selected the device to go in sleep mode (Long Press Home Button). It is no problem to implement this Intent but i wonder, what is the best way. If i force the Screen to stay on ("FLAG_KEEP_SCREEN_ON") the Daydream Mode does not start. But i want the Screensaver to be shown while Music is playing. Is there a way to keep the DayDream Mode on, Keep the device from going automatically to "Sleep Mode" and react if the user forces the FireTV to go to sleep mode. in other ways : "Is there a way to differentiate between an automated sleep mode (which i want to prevent if my app plays music) and the user forced sleep mode event? best regards Alex my question is related to the topic "During media playback, how do I prevent the device from entering standby or daydream mode (screen saver)?" https://developer.amazon.com/public/solutions/devices/fire-tv/docs/amazon-fire-tv-sdk-frequently-asked-questions
fire tv
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Nick Gardner avatar image
Nick Gardner answered
Hi Alexander, There is no way to differentiate between automated sleep mode and user forced sleep mode event. Thanks, Nick
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.