https://kotlinlang.org logo
Title
u

user

07/21/2022, 3:41 AM
Thoughts on best way to make a sound for alarm clock app, and to have it's volume attached to the alarm clock system volume and not media volume?

https://i.stack.imgur.com/IKevm.jpg

Hello, I am having trouble figuring out the best way to make an alarm clock noise for my alarm clock app. I want to start the noise when the broadcast receiver is activated. I am able to create a media player, but the noise is attached to the media volume. I am not sure how to tie the noise to the alarm volume like google clocks. See image please, or at least the notification volume. I don't want it to run off media...