Question: how to set notification sound in android programmatically?
Answer: Start by heading into your main system Settings. Find and tap on Sound and notification, your device may just say Sound. Find and tap on Default notification ringtone your device may say Notification Sound. ...  Choose a sound. ...  When you've chosen a sound, tap on OK to finish.