So, anyone have the low-down on how to do accessible, actually wanted, audio not...
Nolan Darilek @nolan@gts.thewordnerd.info
So, anyone have the low-down on how to do accessible, actually wanted, audio notifications reliably on Android?
Use case: my GPS navigation app is the kind of thing I, and I assume my eventual end users should there ever be any, might want running often in the background. It needs to provide background notifications, but preferably in a way that doesn't speak over other screen reader speech, ducks audio consistently, uses the same voice/rate/other settings. I'll create a separate TTS instance if I absolutely have to, but there has to be a way to structure my notification so it actually reliably speaks when my phone is backgrounded and at minimum being carried or otherwise active. I hear some notifications when my phone's screen is off, like Signal messages, but I can't figure out how to get my app behaving that way.
This is made all the worse by the fact that my phone is, like, 6 years old now. I used to have this working, then a software update changed it--whether it actually fixed anything is a matter of question. But then that method--adding a bit of silence.wav so it registers as an audible notification despite making no sound--stopped working. Could be that's the trick, could be no one cared about a 6-year-old budget phone 4 years ago. Either way, hoping someone has the answer. I'll probably ship TTS as a fallback but I'd throw up a bit in my mouth if it has to be the primary method for doing this. I guess I could also--structure my GPS updates like a conversation with inbox/message notifications? Why is it all like this?!?